could somebody maybe create a plugin that doesn't allow people with permission to destroy 10 or more blocks around the spawn? becouse some people are griefing the rule signs in my spawn .
Spawn protection [bearbin created one]
|
12-27-2012, 07:15 PM
I'm working on this plugin, but the code does not seem to work for me. If I upload a zip file you might be able to find out the problem.
12-27-2012, 09:15 PM
i can't let it work either
12-27-2012, 10:07 PM
It seems OnBlockDig() returns not a proper player object or something. I'll ask a dev to see what's wrong with the code.
12-27-2012, 10:39 PM
not only OnBlockDig() OnBlockPlace() to
12-28-2012, 02:16 AM
I believe the reason why it's not working is because those hooks now recieve differenc set of arguments, and all PacketData classes were removed.
I'll take a look at it tonigh and will post a plugin for testing.
Thanks If you can fix it, can you update the wiki too?
Edit, just worked it out, fixing now!
12-28-2012, 02:24 AM
Updating wiki is really a class-of-its-own task Maybe one day... Tip: look into source code, it's kinda well-documented. If you see //tolua_export - then you can use it.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 5 Guest(s)