Oh and in game as an admin I can spawn the workbench2 with the console command



Oh and in game as an admin I can spawn the workbench2 with the console command



Yeah when testing I have removed myself from the admin list firsts.
I've tested this by trying the command object workbench2 1 - which as expected I get a a "you don't have permission" message in red. Other commands are blocked too as you would expect.
I then go to my workbench (seen in second screen capture) and the workbench2 isn't listed as locked and you can still make/craft it.
I've also tried this for other objects and they too seem to display the same "symptoms" i.e. message on the console and ability to craft the item in game. counter1, counter2, counter3 etc
this is all in the default.permissions file (no custom group) I've tried other objects too like grill but it only seems to work for items.
So the YAML has been a bit of a learning curve. But I'm getting its quirks now I think. I've managed to block the creation of items using:
Can anyone show me the syntax for denying the workbench2 object?
I've tried the following but neither of them work ![]()
Ahh I've sorted it!
YAML syntax requires 2 spaces of the keyboard for every indent!
Hope that gets changed to XML at some point.
very true!
And no not in chat, the message is on the server side. Java error.
Thanks for the reply but that doesn't really help.
The server is online and working. The config file segment is like
As soon as I modify *just* the tnt text bit to say "radiator" such as:
I'm getting "WARNING: Permission for item id radiator not found"
For future reference you can always press Ctrl+F on your keyboard and search for a string like the word "search" (in this instance). I often use the 'find' facility to navigate websites quickly.
Hmm still struggling with this. ![]()
I'm getting warning messages such as: WARNING: Permission for item id counter1 not found
As a test I just replaced the tnt text under crafting deny to counter1 and I got the above warning message, I've also tried it for things like workbench2 and radiator.
OK I've worked it out! Thanks to Red post on Steam
Here's the file if anyone else is looking for the answer too
Ahh! Worked like a charm! Sorry I'm still on a steep learning curve at the moment!
Many thanks lenko! ![]()
Hmm this is my test permissions file (default.permissions)
Lines 20-24 create a NullPointerException?
Hi, I've read the post that Red's done here - Permission system
In it he says at the end "One final note: You cannot change the permission files during runtime yet. In other words: You have to restart the server once you have done some changes to any of the permission files
"
I previously had omitted any pvp statement so the default was on. I've now added pvp false and restarted the server but the server is still showing up as pvp enabled on the server list?
@red51 I'm very new to this community and your awesome (awesome) game (yes I need to say that twice!). I have to say you've just impressed me even more with addressing your user queries so directly!
Keep up the amazing work! Much respect!
Ahh I see! I've never played Minecraft.
I assume because I was the only player in the game I could use the sleep mode at will - makes sense!
Thanks again migdyn!