Looking for a java dev to create a simple plugin

I'm looking for someone to create a java plugin (for free, because I think it's a pretty basic plugin) It needs to stop players from breaking any type of spawner while sneaking and send a message "&cPlease do not sneak while breaking a spawner.". I'd appreciate it if you'd be able to give me the source aswell so I can learn from it (Bonus points if it supports all minecraft versions, if not 1.19.4 is fine)
10 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by kaashout#0
Horus
Horus2y ago
People don't work for free. Use ConditionalEvents if you can't afford to pay for someone's work.
F3DEX22
F3DEX222y ago
You can do it with ConditionalEvents
sneaking_spawners:
type: block_break
conditions:
- '%block% == SPAWNER'
# Here check your PlaceholderAPI config, "yes" should match your true boolean config
# You also need to install the Player expansion to use this variable
- '%player_is_sneaking% == yes'
actions:
default:
- 'cancel_event: true'
- "message: &cPlease do not sneak while breaking a spawner."
sneaking_spawners:
type: block_break
conditions:
- '%block% == SPAWNER'
# Here check your PlaceholderAPI config, "yes" should match your true boolean config
# You also need to install the Player expansion to use this variable
- '%player_is_sneaking% == yes'
actions:
default:
- 'cancel_event: true'
- "message: &cPlease do not sneak while breaking a spawner."
1who¡ssus?
1who¡ssus?2y ago
Silly question why would this be needed?
snowznz.bak
snowznz.bak2y ago
dont ask me
Justin123
Justin123OP2y ago
:Panda_happy: Thank you! We have a spawner plugin which allows players to stack spawners (yes I know, I dont want to hear that stacking is bad lol) But when they sneak it drops out all spawners individually Aka it lags the server and kills the client fps
Deleted User
Deleted User2y ago
stacking entities is bad, but no one is saying anything about stacking spawners and also, bad plugin is in effect too use something like WildStacker / RoseStacker
1who¡ssus?
1who¡ssus?2y ago
Hey you can do this in forge and/or fabric? I mean the conditional events Does the development API supports those?
ProGamingDk
ProGamingDk2y ago
its a plugin conditionalevents is a plugin only naturally spawned entities shouldnt be stacked entities spawned from spawners bypass the mob cap anyways.

Did you find this page helpful?