Build in a new world - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Requests (https://forum.cuberite.org/forum-3.html) +--- Thread: Build in a new world (/thread-408.html) |
RE: Build in a new world - Boo - 04-12-2012 tnx work RE: Build in a new world - Boo - 04-12-2012 Code: function OnBlockDig( PacketData, Player ) names.ini Code: [Nicks] I'm sorry that is wrong? If the name matches the name of the player that you can destroy blocks RE: Build in a new world - xoft - 04-13-2012 If I were to write something like this, I'd go about it in a different way. I'd use the existing structure of Permissions and UserGroups: groups.ini: Code: [World1Builders] users.ini: Code: [Name1] plugin pseudocode: Code: function OnBlockDig( PacketData, Player ) RE: Build in a new world - FakeTruth - 04-13-2012 That's exactly what i would do haha. But too lazy to do right now RE: Build in a new world - xoft - 04-13-2012 Are permissions case-sensitive? Might need to adjust for that. RE: Build in a new world - Boo - 04-13-2012 (04-13-2012, 06:07 AM)xoft Wrote: If I were to write something like this, I'd go about it in a different way. I'd use the existing structure of Permissions and UserGroups: Error WTf? RE: Build in a new world - xoft - 04-13-2012 As I said, I don't do Lua, so it was *pseudocode* only. You need to write proper code for that, I just wanted to illustrate the idea. RE: Build in a new world - Boo - 04-13-2012 Sorry, but I write pseudocode itself can I have a problem with programming, I did not really know |