Cuberite Forum
Tnt - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html)
+---- Forum: Archived Plugins (https://forum.cuberite.org/forum-18.html)
+---- Thread: Tnt (/thread-136.html)



Tnt - woder - 04-29-2011

Tnt v1
This is my first script for this software
How to use
All it does at this point is make tnt do something, i do know it is not perfect but i am working on it.
Bugs:
  • It wont kill the player when it blows
  • It does not give any drops
  • It only works when you place tnt, there is no way of me adding this t'ill i know how to use the delete function
  • If you place the tnt right next to a cactus it crash's the server, idk why this is
If you see any bugs that i don't have please tell me
Planned features:
  • Making it kill the player(or add damage)
  • Making tnt blow other tnt
Change log:
v2:
  • added a command to turn tnt on or off
  • added a command to turn random tnt mode on or off
Also if you know how to use the delete function, please tell meBig Grin




RE: Tnt - benphelps - 04-29-2011

Just an idea, you might want to check out how this would work using recursion to let TNT set of other TNT.

Create a function that loops over the area like you do, but if it hits a block that is TNT, call the function again using new starting position.

I can do this if you don't want to or don't know how.


Also, OnBlockDig works the exact same as OnBlockPlace.


RE: Tnt - FakeTruth - 05-01-2011

Want to recreate TNT? Read this Smile
http://www.minecraftwiki.net/wiki/Explosion