Hey, So I've decided to work on a little project today and release it for free.
It is a factions plugin which introduces a new feature called Raid Block, its somewhat similar to the plugin on rust servers.
How does it work?
Its simple, if tnt explodes in your factions land it will cause you to be raid blocked.
You can change the length of the raid block in the config.
Current Features:
Ability to block commands whilst raid blocked.
Disable gen buckets whilst raid blocked.
Disable the ability to chest / pv spawners raid blocked.
Disable the ability to mine spawners whilst raid blocked.
Disable the ability to break / place blocks in claimed land whilst raid blocked.
I made this plugin in around 4ish hours so please do not judge the code too harshly, I'll be going through and cleaning anything needed up.
(I currently only added support for massivecraft factions, so factions plugins such as FactionsX will not work yet.)
If there are anything features you'd like to see add please feel free to dm me or comment here
If you come across any issues please leave an issue on github.
Source: https://github.com/Decemberrrr/RaidTimer
Jar Download: https://github.com/Decemberrrr/RaidTimer/releases/tag/v1.0.0
My github: https://github.com/Decemberrrr
MCM: https://www.mc-market.org/resources/18693/
If you could leave feedback on the plugin that'd be great
It is a factions plugin which introduces a new feature called Raid Block, its somewhat similar to the plugin on rust servers.
How does it work?
Its simple, if tnt explodes in your factions land it will cause you to be raid blocked.
You can change the length of the raid block in the config.
Current Features:
Ability to block commands whilst raid blocked.
Disable gen buckets whilst raid blocked.
Disable the ability to chest / pv spawners raid blocked.
Disable the ability to mine spawners whilst raid blocked.
Disable the ability to break / place blocks in claimed land whilst raid blocked.
I made this plugin in around 4ish hours so please do not judge the code too harshly, I'll be going through and cleaning anything needed up.
(I currently only added support for massivecraft factions, so factions plugins such as FactionsX will not work yet.)
If there are anything features you'd like to see add please feel free to dm me or comment here
If you come across any issues please leave an issue on github.
Source: https://github.com/Decemberrrr/RaidTimer
Jar Download: https://github.com/Decemberrrr/RaidTimer/releases/tag/v1.0.0
My github: https://github.com/Decemberrrr
MCM: https://www.mc-market.org/resources/18693/
If you could leave feedback on the plugin that'd be great
settings:
raid-block-time: 15 # Time in seconds
allow-block-placement: false # Can you build whilst Raid Blocked (True/False)
allow-block-break: false # Allow Block Break *In claimed land (True/False)
allow-spawners-mined: false # Are players allowed to mine spawners whilst Raid Blocked (True/False)
allow-chest-spawners: false # Are players allowed to pv, chest or enderchest spawners whilst Raid Blocked (True/False)
use-buckets: false # Are players allowed to use buckets whilst Raid Blocked (True/False) *Temporarly use to stop genbuckets
blocked-commands: # Commands players cannot use whilst raid blocked (Leave blank for no blocked commands)
- '/help'
- '/teleport'
- '/spawn'
raid-block-time: 15 # Time in seconds
allow-block-placement: false # Can you build whilst Raid Blocked (True/False)
allow-block-break: false # Allow Block Break *In claimed land (True/False)
allow-spawners-mined: false # Are players allowed to mine spawners whilst Raid Blocked (True/False)
allow-chest-spawners: false # Are players allowed to pv, chest or enderchest spawners whilst Raid Blocked (True/False)
use-buckets: false # Are players allowed to use buckets whilst Raid Blocked (True/False) *Temporarly use to stop genbuckets
blocked-commands: # Commands players cannot use whilst raid blocked (Leave blank for no blocked commands)
- '/help'
- '/teleport'
- '/spawn'
messages:
CANNOT-MINE-SPAWNER: "&8(&cRaid Block&
&fYou cannot mine spawners whilst in raid block.\n &fYou have &c{timeleft}&f."
CANNOT-BREAK-BLOCK: "&8(&cRaid Block&
&fYou cannot break blocks whilst in raid block.\n &fYou have &c{timeleft}&f."
CANNOT-PLACE-BLOCK: "&8(&cRaid Block&
&fYou cannot place blocks whilst in raid block.\n &fYou have &c{timeleft}&f."
CANNOT-USE-BUCKET: "&8(&cRaid Block&
&fYou cannot use buckets whilst in raid block.\n &fYou have &c{timeleft}&f."
CANNOT-CHEST-SPAWNER: "&8(&cRaid Block&
&fYou cannot hide spawners whilst in raid block.\n &fYou have &c{timeleft}&f."
COMMAND-BLOCKED: "&8(&cRaid Block&
&fYou cannot use this command whilst in raid block.\n &fYou have &c{timeleft}&f."
RAID-BLOCK-STARTED: "&8(&cRaid Block&
&fYour faction has been raid blocked.\n &fYou have &c{timeleft}&f."
ERROR-NO-FACTION: "&8(&cRaid Block&
&cYou are not in a faction."
COMMAND-RAID-BLOCK: "&8(&cRaid Block&
&fYour faction has &c{timeleft}&f under raid block."
RAID-BLOCK-OVER: "&8(&cRaid Block&
&fYour faction is no longer raid blocked."
CANNOT-MINE-SPAWNER: "&8(&cRaid Block&
CANNOT-BREAK-BLOCK: "&8(&cRaid Block&
CANNOT-PLACE-BLOCK: "&8(&cRaid Block&
CANNOT-USE-BUCKET: "&8(&cRaid Block&
CANNOT-CHEST-SPAWNER: "&8(&cRaid Block&
COMMAND-BLOCKED: "&8(&cRaid Block&
RAID-BLOCK-STARTED: "&8(&cRaid Block&
ERROR-NO-FACTION: "&8(&cRaid Block&
COMMAND-RAID-BLOCK: "&8(&cRaid Block&
RAID-BLOCK-OVER: "&8(&cRaid Block&
Last edited:
