Josh Roy
0ebd64d314
Add a cause enum to UserBalanceUpdateEvent ( #2824 )
...
Basically, I just needed this for one of my plugins; otherwise, this could be useful for people using this event who want to see where the user's balance is being updated from.
---
* Add UserBalanceUpdateEvent.Cause
* Add special cause enum
* Add API Cause
2019-12-23 13:16:34 +00:00
Trent Hensler
1a820ad9b7
Initial removal of item IDs.
...
We do not rely on Bukkit's item ids anymore, though we still support them in commands via a mapping built off of the items.csv.
2017-12-12 22:06:25 -08: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
drtshock
8485bd44f9
Correct check on bulk sell permission.
2015-09-23 15:02:44 -05:00
drtshock
fe1dd0d0f3
Add separate permission for bulk sell and hand sell.
2015-08-07 16:53:20 -05:00
drtshock
dde0b20775
Reformat
2015-04-14 23:06:16 -05:00
KHobbits
36e580474f
Converted emulated player class calls to use base class.
2014-04-13 01:01:49 +01:00
FearFree
5724c0c8df
Future Java versions may not support _ as identifier.
2014-03-22 16:08:11 +11:00
KHobbits
59515aed94
Cleanup worth and sell messages
2013-07-19 00:55:21 +01:00
snowleo
4eef8b5e84
Can't sell negative amount of items.
2013-07-19 01:01:52 +02:00
KHobbits
0d2dea41e3
Fix worth display bug
2013-07-14 12:09:49 +01:00
KHobbits
a14104c529
Add support for /worth all and /worth hand
2013-07-14 01:03:08 +01:00
KHobbits
5eb3d9fa42
Wrap ItemDb accessors and move Item string matching to itemdb class.
2013-07-13 18:52:53 +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
1bb7946e13
Couple more bits of Eco cleanup
2013-05-05 20:05:28 +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
snowleo
af10a2050a
Revert the last 2 commits and actually fix the right one.
2013-02-17 15:17:47 +01:00
snowleo
ce9e630072
Fix all removeItem()
...
This could fix some broken logging of selling items
2013-02-17 15:10:41 +01:00
Iaccidentally
360e3e8801
cleanup :: fix build
2013-01-31 14:40:33 -05:00
snowleo
12786a260e
Update /sell command to newer bukkit api
2013-01-29 20:29:03 +01:00
ementalo
a64cb31211
Revert "Merge pull request #286 from GunfighterJ/2.9"
...
This reverts commit 57de3f3ed2
, reversing
changes made to 76d1ea5cab
.
2013-01-29 10:25:01 +00:00
GunfighterJ
74b63a6f2d
Ignore itemmeta on sell
2013-01-28 23:11:43 -06:00
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