Activate a door or gate by /activate
1.0 [Denizen 1.0.2]Do /activate to switch a door or a gate
Make a new file in /serverfolder/plugins/Denizen/scripts
called activate.yml
This script needs:
Denizen - plugin
permission plugin - to make non-ops but fx staff to use it too
Permissions:
/activate - activate.use
and then write this into it:
activate:
type: command
name: activate
description: switched the door/gate you look at.
usage: /activate
permission: activate.use
permission message: Sorry, <player.name>, you can't use that command because you don't have the permission '<permission>'!
script:
- switch <player.location.cursor_on>
- narrate "<blue>Switched!"
# Made by Jepp9350 or JeppeDK
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta