Sueta

CannonCore

R1.3

Great resource with tntfill, /lever, /fire, autoadjust, cannon speed detection and more...

·Plugin

CannonCore Plugin R1.3

Features

All features are togglable by config.

DispenserTags This is a feature where if you were to get an anvil and rename a dispenser block to either: wait:<ticks> or multi:<amount> or wait:<ticks>,mutli:<amount> it will do those things, 'wait' tag waits the set tick amount before using the dispenser and the 'multi' tag dispenses the set amount of times. In the config you can specify if tagged dispensers should or should not use the item inside the dispenser which can make it easier for tags like 'multi:100' since you will not need to keep placing tnt inside the dispenser.

SelfGrace This is a feature where if you have FactionsUUID/SavageFactions/SabreFactions or MassiveCore Factions tnt will not explode in the land it was ignited in so if you want a server where watering cannons is not required this is the solution

CannonSpeed Detection This is a feature that picks up on dispensers that dispense too quick. You can set it to where it only applies to blocks above a certain height. You can set the comparator speed (the fastest speed a non auto cannon could go) and the minimum auto speed in order to make sure auto cannons that go faster than they should do not work. If said dispenser/cannon is found then it will alert staff and you can click the alert and teleport to the block. After that all redstone in that dispenser's chunk is limited for a said amount of time (time depends on found speed and minimum auto speed and can be a maximum of 30 seconds). This will make sure players do not use illegal auto cannons that can go faster than the server allows/

Commands The plugin has many commands, it has /fire which triggers your last used button and /lever which triggers your last used lever. It has a TntFill command /ctntfill and will fill all dispensers in a 32x32 radius. It has a /cleardata command which is mainly for if your dispenser tags break and then the dispenser tags stop working. Finally it has /autoadjust which can be seen below as well as the help command /cannoncore .

Video of the auto-adjusting feature (Initial Release)

YouTube

Config

features: 
  faction_no_explosions: true 
  dispenser_tags: true 
  cannon_speeds: true 

adjustment_panel: 
  block: OBSIDIAN 

dispenser_tags: 
  use_item: false 

cannon_speeds: 
  min-y-level: 30 # Cannons under y=30 will not be checked for speed 
  min-speed: 1.5 # 1.5 seconds, anything under will flag 
  comparartor_speed: 0.3 # Everything above this speed is flaggable 
  alert-permission: cannoncore.alerts 
  teleport-permission: cannoncore.teleport.dispensers 
  alert-message: "&c&l(!) &7Dispenser at: &c%coords% &7autoing at &c%speed%s" 
  chunk-limited-message: 
    - "&c&l(!) &cRedstone has been halted in this chunk by the server" 
    - "&7This happens when the server detects that your dispenser speed is too fast &nSlow down your dispenser speed" 
    - "&7This chunk will be halted for another: &c%time%s" 
  chunk-limit-removed-message: 
    - "&b&l(!) &bRedstone in this chunk are now unhalted"

Similar projects

Plugin →