sorry in advance for 100% of the code, you may contract cancer if you do so much as peek at it
right click on a block with a grenade to turn it into a mine! :D
mine functionality:
- Explodes when an enemy/explosion is nearby (including other mines!)
- Mines kill through 1 block thick walls(/floors/ceilings)
- Takes time to activate
- Team-based
- Changes to preset team color on activation
- Blues don't explode blue mines on proximity, greens(/reds) do
- Shoot them to make them go boom!
- Players spawn with 0 mines, and must go to the tent to get a maximum of 5
- Dig mines to retrieve(/steal) them
- Digging mines is safe, even for enemy players
- Babel functionality
- You can't place mines on your own tower or on heaven (the platform)
- You can dig out enemy mines from your own tower, the script will replace the block instantly (no structure breaking involved)
- You can explode mines from afar
- @{/tm} (/togglemine [player]) Disables players' ability to place mines server-wide, or disables it only for a single player
- @{/tma} (/togglemineadjacency [player]) Disables mines' ability to explode from nearby explosions, or disables it only for a single player
- @{/cm} (/clearmines) Deletes all mines from the map, and replaces them with the previous block that occupied their spot; does not break structures.
- @{/tim} (/toggleinfinitemines) Toggles whether players have infinite mines. Like infinite blocks in godmode. Server-wide.
- (/mines) Shows you how many mines you currently have. (amount persists through infinite mines)
@ = admin only
sorry in advance for 100% of the code, you may contract cancer if you do so much as peek at itsorry if i forgot anything. tell me if i suck at scripting and/or need to fix something ASAP
have an extremely laggy test server:
[aos]aos://323695688:27106:0.75[/aos]