I'm wanting to create another plugin, however I'm not sure what to makw, so I was wondering if anyone had any ideas/needs for a server management...
But I won't know who to add, if I don't know who created the region.
I'm rewriting a WorldGuard plugin in which it tracks regions, and deletes them/removes the owner after they have been inactive for x amount of...
The code below is suppose to check if an item has an item meta, and return false if it doesn't. However, when I run the loop, I receive a...
I've been looking through Towny for a way to check if a player can, or is in, a PvP area. I was curious if anyone has done this check, or knows...
I've been looking through Towny for a way to check if a player can, or is in, a PvP area, and their API is terribly hard to sift through, and is...
I know this is an old post, however Towny's API is horrendous, and the plugin itself is horribly built. It follows little to no proper programming...
With the loop below, the item in a player's inventory will drop down to a single, "ghost" item, where it will appear and disappear from the...
So I got it working by replacing '1' with itemChargeAmount, however now I need to use the deprecated method 'p.updateInventor()'. This is not a...
Oh, I forgot to add the 'break' line. So, that is solved. But the itemChargeAmount is still bugged. itemChargeAmount is an int retrieved...
That's much neater,thanks! However, if a player has a stack of the material separated, it will remove one item from each stack. Also, if the...
I'm trying to remove one lore item from a player's inventory, and the code below removes one lore item from every stack in a player's inventory....
I'm trying to remove items with a certain lore from player's inventory. But, when I run the 'hasItemMeta()', then it returns false. I've...
Very interesting report, thanks for the long, and nicely detailed response. The reasoning behind 12 timers was each timer had to be different,...
Currently, I need to create 13 timers for my plugin. One timer would be running every second, to check a player's flight and such, and the other...
I've never tried it that way, but I'll definitely try that, thanks!
I need about 24 timers for what I was thinking of doing, and I believe I could do it more efficiently. So, here's what I need to do: I have...
That's what I thought the issue was also, but I played around with the values and the same errors still occur. I have no clue whats wrong, I've...
I'm trying to add players to a fly ban list, and the arguments can either have a time, or no time, and be considered permanent. I check for the...
I was wondering how I can convert an arg of '1h2m3s' to milliseconds (or nanoseconds, whichever is less server stressful). If a player uses...
Separate names with a comma.