snowleo
2a88a314ce
Update Inventory Workaround to the latest version
...
Still bugged in CB: maxAmount of items
2012-12-19 22:07:03 +01:00
KHobbits
7b997634ef
Remove unused variable
2012-12-06 23:27:43 +00:00
kukelekuuk00
3f69473072
Added a total profit message for /sell all|blocks
2012-12-05 15:40:17 +01:00
KHobbits
62381a7f52
Async EssentialsSpawn join event, like the others.
2012-09-08 14:55:37 +01:00
KHobbits
6da705c86f
Allow more currency customization.
...
Added currency key to messages.
2012-03-04 10:11:58 +00:00
snowleo
435219bab6
Fix Enchant sign, the user has to hold the item in hand now. A * or "any" in the second line allows to enchant all possible items.
2011-12-07 14:23:56 +01:00
snowleo
9e1571a8e5
More cleanup
2011-12-06 17:42:55 +01:00
KHobbits
2dc6f8c202
Command Cleanup
2011-12-01 13:42:39 +00:00
snowleo
91cdff955a
Fix another bug in /sell
2011-11-28 22:41:26 +01:00
snowleo
5e24584bf7
Fix bug in /sell command
2011-11-28 20:24:13 +01:00
snowleo
9acc7db06f
Changes to /sell /give and /item
...
Material.getMaxStackSize() will now be used in /give and /item
The config option default-stack-size has been removed
New config option oversized-stacksize and permission essentials.oversizedstacks
Fixes bug giving out too many items on /give and /item when a stacksize > 64 is given.
Fixes bug in /sell that ignores enchantments
/sell now uses Material.getMaxStackSize() for /sell egg 2s (will sell 32 instead of 128 now)
2011-11-28 19:55:51 +01:00
snowleo
f250a107e4
CB#1518 B#1042
...
Support for Enchantments & Removed broken BedFix (in cb now)
2011-11-27 06:01:41 +01: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
KHobbits
2bb45022d6
Extra triggers for /sell inventory
2011-10-26 03:32:38 +01:00
KHobbits
dc2e23c85a
Improved readability of /sell
...
~translations need checking~
2011-10-26 03:05:09 +01: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
okamosy
3e9b27e3ef
Added command repair [hand|all]
...
fixed if statements in commandsell
2011-08-20 20:49:17 +01:00
snowleo
5aa2bc1706
Log location of /sell and signs
2011-07-18 04:49:38 +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
b272374072
Basic logging of trade/buy/sell signs and sell command
2011-07-06 02:58:59 +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
7b9606994a
Ignore exceptions on bulk /sell
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1462 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-14 10:57:55 +00:00
ementalo
92b34ec15f
[trunk] translations = T's
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1424 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-11 22:42:48 +00:00
ementalo
1bbe1ee8da
[trunk] import cleanup
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1393 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-09 14:21:20 +00:00
snowleo
153bcd9fa0
Log items that are sold using /sell
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1392 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-09 09:31:36 +00:00
ementalo
bd5b8eacd0
[trunk] fix /sell inventory / blocks chat spam
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1363 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-07 12:11:56 +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
ementalo
b971abd151
[trunk] fix formatting of sell
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1353 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-06 19:50:14 +00:00
ementalo
0825a1de86
[trunk] /sell inventory, /sell blocks fixes
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1345 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-04 23:33:32 +00:00
ementalo
27dffd1533
[trunk] Untested - /sell inventory sells all your inventory minus armour stuff, /sell blocks sells blocks only
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1343 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-04 16:22:38 +00:00
snowleo
87c937ff3c
[trunk] Check for null in /sell
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1310 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-05-02 02:15:19 +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
1504979bbb
[trunk] /sell hand will sell the item in hand.
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1228 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 15:39:58 +00:00
snowleo
2571d31cb0
[trunk] /sell: fix negative value
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1226 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 15:33:52 +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
981f08405f
[trunk] NPE in /sell
...
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1223 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 15:21:17 +00:00
snowleo
e58e73f1e5
[trunk] /sell itemname amount
...
New syntax for sell command, proposed by KimKandor
It won't sell the items in hand anymore.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1222 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 15:15:46 +00:00
snowleo
59c0534d48
[trunk] /sell itemname amount
...
New syntax for sell command, proposed by KimKandor
It won't sell the items in hand anymore.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1221 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 15:12:45 +00:00
snowleo
5ef0fd180b
[trunk] /sell itemname amount
...
New syntax for sell command, proposed by KimKandor
It won't sell the items in hand anymore.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1220 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 15:11:44 +00:00
snowleo
137bafd0a8
[trunk] /sell itemname amount
...
New syntax for sell command, proposed by KimKandor
It won't sell the items in hand anymore.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1219 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-16 15:11:20 +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
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