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
vemacs
abfec5a60f
Revert "Fix getItemInMainHand behavior breaking /worth ( #1053 )"
2017-01-17 21:46:04 -06:00
vemacs
ca28d8aa84
Fix getItemInMainHand behavior breaking /worth ( #1053 )
2017-01-05 12:13:08 -05:00
drtshock
dde0b20775
Reformat
2015-04-14 23:06:16 -05:00
KHobbits
10de6ac929
Cleanup
2014-04-06 15:44:37 +01:00
FearFree
5724c0c8df
Future Java versions may not support _ as identifier.
2014-03-22 16:08:11 +11:00
KHobbits
6f85761f7f
Extract CommandSender to CommandSource, this should prevent Ess user object leaks.
2013-10-16 21:05:33 +01:00
KHobbits
59515aed94
Cleanup worth and sell messages
2013-07-19 00:55:21 +01:00
KHobbits
0d2dea41e3
Fix worth display bug
2013-07-14 12:09:49 +01:00
KHobbits
29ea24f715
Throw syntax error instead of "For input string"
2013-07-14 01:07:59 +01:00
KHobbits
a14104c529
Add support for /worth all and /worth hand
2013-07-14 01:03:08 +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
snowleo
b49aaee66d
Catch both exceptions in EssentialsConf and valueOf instead of new
2013-05-05 11:55:39 +02:00
KHobbits
2d70bb19f7
Economy Madness
2013-05-05 05:12:17 +01:00
KHobbits
6da705c86f
Allow more currency customization.
...
Added currency key to messages.
2012-03-04 10:11:58 +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
cd9ea163e4
Continuing code cleanup
2011-11-18 22:09:26 +00:00
KHobbits
e5a8cd88f0
Code cleanup continued.
2011-11-18 17:48:49 +00:00
snowleo
358456c8ea
Cleanup
2011-10-19 14:47:32 +02:00
Tim P
a86a1990cd
Made a couple commands available for the console (ones that make sense to be able to
...
access from the command line).
2011-10-18 12:12:41 -04: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
a38fe6acd4
Heavy cleanup of all classes
...
ItemDb is not static anymore
Essentials.getStatic() removed
2011-07-16 01:33:22 +02:00
snowleo
117d938ac5
Several bug fixes and cleanup.
...
Found using PMD and FindBugs.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1553 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-06-01 10:40:12 +00:00
snowleo
5ae48481bd
Refactoring: New Charge class
...
user.canAfford(String), user.canAfford(EssentialsCommand), user.charge(String), user.charge(EssentialsCommand) have been removed.
Teleport class has been changed to use the Charge class.
This also fixes some bugs, like the one with warp signs.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1512 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-22 18:53:23 +00:00
snowleo
5eeb020f01
Finally all commands translated.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1471 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-15 01:30:54 +00:00
ementalo
31f5802611
[trunk] metadata support in itemsdb.java, allows worth commands with metadata
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1364 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-07 13:03:45 +00:00
ementalo
2efb97013f
[trunk] cleanup double $
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1356 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-06 21:08:58 +00:00
snowleo
79c0ef69c4
Cleanup of the iConomyBridge Code
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1321 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-02 18:22:17 +00:00
xeology
894a270a0e
Integrated EcoAPI at EcoAPI.java
...
Fixed worth's ugly decimal display, does math with decimals now also!
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1311 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-02 03:56:51 +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
8ede5aad01
[trunk] Worth: Don't default to 0.0, default to NaN.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1225 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 15:25:48 +00:00
snowleo
09ab981585
[trunk] Worth/Sell: Support for double values as prices and more important: support for data items.
...
the yaml structure has changed, there is a fallback to the old structure.
This code is untested.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1212 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 06:45:37 +00:00
snowleo
c849bf7fe9
[trunk] Worth/Sell: Support for double values as prices and more important: support for data items.
...
the yaml structure has changed, there is a fallback to the old structure.
This code is untested.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1211 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 06:28:56 +00:00
snowleo
528aa3d6cf
[trunk] Cleanup
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1209 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 05:59:59 +00:00
snowleo
31dc8694b6
[trunk] /worth: don't access config directly, don't reload config after save and use getPrice() method.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1208 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 05:57:16 +00:00
ementalo
2372be6a57
[trunk] moved the worth-id: cost out to their own file "worth.yml" some default values will be created. If you have values in config.yml already then they need to be copied to this new file. Added a setworth command that can change / add worth values.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1203 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 00:42:43 +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