Hi, Sorry for the late reply but even with this done, the player can still use commands such as /me and /tell. They can also use /bukkit:help and...
Simple question, how do I forbid players from using commands such as /seed, /pl, /me, /say etc. I'm using bPermissions, but I'm willing to switch.
Look at the console @timtower pl.getName() returns Fifti, my name. The player is defined and works properly. It just wont teleport. oh also, you...
@timtower You mean that P object? Because it's not actually a player, its a custom class used to represent a player on a specific team in the...
Alright so im getting an error on the last visible line of this code: [IMG] The console looks like this: [IMG] Notice that both the player and...
Hi, Could you please provide some line numbers? It's very difficult to pinpoint the exact cause of the bug if we cant see line numbers.
So, I have a small minigame plugin which uses a custom class as the way to initialise a specific game (for example, 1v1 is 1 object that has...
Thanks for the suggestions, I'll try that out now.
On top of what timtower said, you may also want to check if there's already an invite for a specific player by doing "if...
Assuming you're using worldguard, you can read up on their API here: http://wiki.sk89q.com/wiki/WorldGuard/Regions/API. You'll be most interested...
as the title suggests, I have an arraylist of Enums I need to save to my config. How do i do that? Thanks in advance. Edit: More importantly,...
How do I check how many blocks above the ground a player is, even if the player has a roof over their head (can't use highestBlockAt())? Thanks.
Thanks!
Hey, I tried looking online for an explanation to what you said since I didn't know what a CommandExecutor was, but none of the things I saw...
[IMG] https://gyazo.com/bdc73b008fab396ea4fde0df979bac1a The command always returns the command in plain text (such as "/users"), even though the...
@TheMinecraftKnight Hey, thanks for the reply. I'll try that since it seems relatively simple and speed isn't really an issue right now. Thanks to...
@timtower as in? I know world edit includes schematics of that's what you mean.
Alright, so. I'm making a spleef plugin but I can't seem to figure this out. I've got the world with the map, but I want to reset it (to it's...
Here's my code. The only issue (to my knowledge) is the itemstack thing. How would I fix it so it forces you to be holding a book? Thanks for the...
thanks, I got what I needed. For future reference, the actual method is "System.currentTimeMillis()".
Separate names with a comma.