Skip to content

This repository contains the source files for the AntiSkid plugin which protects a cannoner's cannons from being downloaded by other players by masking the repeaters on their cannon

License

Notifications You must be signed in to change notification settings

bsalha1/AntiSkid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AntiSkid

This plugin allows players to protect their cannons from being "skidded" or stolen by other players. Upon toggling antiskid via /antiskid on, all the repeaters on their cannon (determined by the faction territory, plot, or by using the region selector via /antiskid tool) will be replaced with comparators, while you and anyone else on your whitelist will be able to see the repeaters just fine. The protection is passive as well, so newly placed repeaters will also be masked!

Anyone who tries to use Schematica or any other mod to capture the cannon will receive the protected cannon, and thus they will not be able to see any of your repeater timings, and the cannon won't work at all!

Region Selection

There are currently two methods of region selection to select the cannon: Factions-based Plots-based, and non-Factions-based. You can configure which worlds on your server are considered "Factions" and "Plots", and every other world will use /antiskid tool for region selection.

Upon selecting the region, the protection is passive - everytime you place a repeater it will be masked, so you can turn AntiSkid on once and you'll be good to go!

Factions: On the Factions worlds, upon executing /antiskid on, the plugin will scan the entire connected chunk group and protect all repeaters in the claims.

Plots: On the Plots worlds, upon executing /antiskid on, the plugin will scan the entire plot and protect all repeaters in the plot.

Other: On the other worlds, when /antiskid on is entered, the plugin will use the region selected by the selection tool, obtained from /antiskid tool. The region selection process is identical to world edit; you select the two corners of the region you seek to protect - left click for position 1 and right click for position 2.

Config

There are two config files in this plugin: config.yml and messages.yml. config.yml allows configuration of the functionalities of the plugin while messages.yml provides customization of the messages distributed by the plugin.

config.yml

Default Value Meaning
fast-scan false If true, will only protect repeaters in chunks with dispensers
factions.support true If true, will attempt to hook into Factions plugin
factions.whitelist-faction true If true, all Faction members will be whitelisted to the AntiSkid region
factions.minimum-rank moderator The minimum rank of the Faction member to use AntiSkid commands. Valid values: admin, coleader, moderator, normal, recruit
factions.worlds factions The list of world names in which Factions-based region selection will occur
plotsquared.support true If true, will attempt to hook into PlotSquared plugin
plotsquared.worlds plots The list of world names in which PlotSquared-based region selection will occur

Support

For any support regarding this plugin (anything from bugs to suggestions) please contact Reachy#0001 on Discord or email bsalha1@gmail.com.

About

This repository contains the source files for the AntiSkid plugin which protects a cannoner's cannons from being downloaded by other players by masking the repeaters on their cannon

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages