Josh Roy
f6cb9ff470
Improve command codestyle ( #3337 )
...
Co-authored-by: MD <1917406+md678685@users.noreply.github.com>
Fixes #3579 (async `/skull` command)
Fixes #3336 (improve codestyle of commands)
Partially addresses #3339 (`/spawn` and `/setspawn` are now hidden from tabcomplete)
Closes #3087 (`/paytoggle` is now a loop command)
2020-08-11 19:09:22 +01:00
Josh Roy
9681933ec2
Add mute expiry time in mute messages ( #3329 )
...
Co-authored-by: MD <1917406+md678685@users.noreply.github.com>
Closes #1211 .
2020-07-06 19:52:51 +01:00
pop4959
8f88a8dcb3
Allow 1 char name ( #3264 )
2020-05-12 21:27:33 -07:00
delbertina
ff37ef3bc5
Added reason stuff to msg command and deleted reference line in seen command. Oops!
2017-12-24 00:03:36 -06:00
Ali 'SupaHam' M
bbe0ca9302
Implement tab completion for all commands. ( #1282 )
...
List of supported commands:
```
/afk
/balance
/balancetop
/ban
/banip
/bigtree
/book
/broadcastworld
/burn
/clearinventory
/condense
/delhome
/deljail
/delwarp
/eco
/enchant
/enderchest
/essentials
/exp
/ext
/feed
/fireball
/firework
/gamemode
/getpos
/give
/hat
/heal
/help
/helpop
/home
/ignore
/invsee
/item
/itemdb
/jump
/kick
/kill
/kit
/lightning
/list
/mail
/me
/msg
/mute
/near
/nick
/nuke
/pay
/potion
/powertool
/ptime
/pweather
/recipe
/remove
/repair
/sell
/showkit
/skull
/speed
/tempban
/thunder
/time
/togglejail
/tp
/tpa
/tpaall
/tpahere
/tpall
/tphere
/tpo
/tpohere
/tppos
/tree
/warp
/weather
/world
/worth```
2017-06-11 01:17:43 +01:00
Ali Moghnieh
447b9db397
Rewrote messaging structure for more abstractness.
...
This commit adds a new boolean-configurable feature called last-message-reply-recipient, defaults to true for new installs and false for old installs, which states whether to use the new messaging functionality or not.
This commit deprecates Console#getCommandSender(Server) and provides Console#getInstance()#getCommandSender() for future usability.
2015-10-27 20:46:58 -06:00
drtshock
c0800afeeb
Add configurable message for messaging someone with messages turned off. Adds #180
...
This message can also be removed to not send a message at all, keeping previous functionality.
2015-09-01 12:53:07 -05:00
vemacs
fe9348b3fb
Add silent msg ignoring in msg command
2015-07-28 19:49:13 -06:00
drtshock
dde0b20775
Reformat
2015-04-14 23:06:16 -05:00
FearFree
5724c0c8df
Future Java versions may not support _ as identifier.
2014-03-22 16:08:11 +11:00
KHobbits
46691871ad
Add permission: essentials.msg.multiple and essentials.pay.multiple
...
Message permission will allow rough nick matches and wildcards, while pay will only allow wildcards.
2013-12-28 22:37:36 +00:00
KHobbits
6f85761f7f
Extract CommandSender to CommandSource, this should prevent Ess user object leaks.
2013-10-16 21:05:33 +01:00
KHobbits
e1ff3542ae
Cleanup
2013-10-05 03:27:40 +01:00
KHobbits
03368e45df
Extract user match looping
2013-09-28 21:33:22 +01:00
KHobbits
ffae86dd42
Use user object to send messages when possible.
2013-08-15 01:53:22 +01:00
KHobbits
3d29248ace
Misc cleanup
2013-07-07 12:38:01 +01:00
KHobbits
52ba151b81
Clean up exception types.
2013-06-22 16:33:22 +01:00
Iaccidentally
f1eae9be6f
Cleanup imports
2013-06-11 20:45:12 +01:00
KHobbits
09f67c9723
Split util classes.
2013-06-08 22:31:19 +01:00
KHobbits
889157371c
[Permission] essentials.vanish.interact - Players with this permission will be able to interact with hidden players.
2013-03-20 01:00:50 +00:00
KHobbits
8f6c61fa99
Try to unify player matching for hidden users:
...
kill, lightning and ptime still need cleanup
2013-03-19 23:17:34 +00:00
KHobbits
443a317184
Show afk warning when pm'ing afk players.
...
Fix vanished leak on player matching.
2013-01-20 22:05:44 +00:00
Iaccidentally
3e203d193c
fix msg and pay to accept 2 character names
2012-08-10 06:54:42 -04:00
KHobbits
97eada7dd6
Players should not be able to ignore Console
...
Also implement chat exempt permission in other commands.
2012-06-16 16:22:51 +01:00
KHobbits
2bebb0bd61
3 char min length on /pay and /msg
2012-06-13 00:49:36 +01:00
KHobbits
d20519ef8b
New Permission: essentials.chat.url
...
Without this perm, URLs will be modified not to be links.
2012-03-22 22:19:58 +00:00
KHobbits
0dc1270aed
Split colour permissions into 3: color/magic/format
2012-03-22 22:07:13 +00:00
KHobbits
a10f6850e5
Compiled regex is faster.
2012-01-18 23:35:30 +00:00
KHobbits
1f2c669eca
Stripping vanilla colour from /helpop and /mail
...
Adding support for &k in EssChat
Adding support for colour in /msg and /r - New perm: essentials.msg.color
2012-01-16 20:25:36 +00:00
KHobbits
4435121c84
Stripping vanilla colours from /msg
2012-01-16 19:42:15 +00:00
snowleo
220d68f375
Switch to the new I18n class and format cleanup of all classes
2011-11-21 02:55:26 +01:00
KHobbits
e5a8cd88f0
Code cleanup continued.
2011-11-18 17:48:49 +00:00
snowleo
6427a93d14
Correctly charge for the use of commands.
...
We now first test, if the user could pay it, do the stuff and then charge him. If the command throws an exception, the user will not be charged.
2011-08-27 23:14:49 +02:00
snowleo
a90b16be36
Prevent muted players from using /msg
2011-08-08 15:34:10 +02:00
snowleo
bda2f5e615
Show player not found message, if no unhidden player is found in /msg
2011-07-20 21:36:23 +02:00
snowleo
be83383fd5
Added option to hide player from /list /who ... login message.
...
This is for other plugins, that want to hide a player.
Use IEssentials.getUser(Player p).setHidden(boolean)
2011-07-18 03:42:21 +02:00
snowleo
d8824b37ba
Small fix so that the player gets a reply, even if he is ignored
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1492 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-15 16:54:25 +00:00
snowleo
0e0cfbb15b
More translation stuff.
...
Check if the version of a translation file is up to date with essentials version.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1480 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-15 13:18:38 +00:00
snowleo
0246d21e69
New feature allows a user to ignore other players
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1474 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-15 11:40:46 +00:00
ementalo
299be08d13
[trunk] translations
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1422 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-11 21:53:01 +00:00
snowleo
224c18348a
This is a big refactoring of the user class and more.
...
Many commands have been cleaned.
File changes:
- all user data has been moved from users.yml to userdata folder
- all files in userdata folder are lower case
Both changes should be done automatically.
Class changes:
- Moved all user data functions to UserData class
- Moved all user teleport functions to Teleport class
- Moved the user list to Essentials class
- Less static functions for better testing
- EssentialsCommand now has ess Property (Essentials class)
- New NotEnoughArgumentsException, that will show command description and syntax
New commands:
- /seen, shows the last login or logout
- /tempban, temporarily ban someone
- /tjail and mute, temporarily option added
Other changes:
- ban reason is saved
- don't show "You have xxx mail" on login, if user doesn't have essentials.mail permission
- time will be parsed: years, months (mo), weeks, days, hours, minutes (m), seconds, these can be shortened and combined, example: 2 days 5h 30m
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1300 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-01 21:07:30 +00:00
snowleo
7137e7b829
[trunk] /msg /r Reply to the console. Add /r console command.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1135 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-05 18:28:18 +00:00
snowleo
4b8ffabfb8
[trunk] /msg /r Reply to the console. Add /r console command.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1134 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-05 18:14:18 +00:00
snowleo
57b5af7829
[trunk] /msg /r Reply to the console. Add /r console command.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1129 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-05 15:57:54 +00:00
snowleo
a3ebd254f2
Moving all files to trunk.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@969 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-03-19 22:39:51 +00:00