PosCommands | 1.21.1 SUPPORT! |
4.0.0Trigger commands just by walking over a block! | Now supporting Folia! |
Have you ever wanted to be able to allow your players to run commands just by standing or walking over a certain block without having to use scripts or command blocks?
With this simple, efficient and lightweight plugin, you can do just that!
This plugin allows you to configure block stack up combinations to be able to let your players automatically trigger up to 4 simultaneous commands whenever the player either walks over or steps on the pre configured block combination.
This plugin also allows you to setup a 'teleport after trigger' feature that will then teleport the player to a set coordinate after they run the commands, this helps prevent command spamming issues!
There are 4 different block configurations that you can setup to allow up to 4 different sets of commands to be configured.
As of V2.9 the commands that the player triggers can be configured to run from either the player or the console.
As of v3.8.3 PosCommands natively supports running on Folia! Don't worry though, other Minecraft versions such as Paper and Spigot are still fully supported too!
As of v4.0.0 PosCommands has had a FULL recode to now an add unlimited amount of commandLocations and unlimited commands per location.
[------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Want to try out the very latest dev builds?
[Click here]
Use the above dev build at your own risk! Please follow any and ALL instructions provided with EACH dev build released!
[---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Video graciously created by RAMShard
[------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Want to see this plugin in action, you can join my dev server and try out the PosCommands for your self!
[------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Want to discuss my plugin:
Visit our discord channel https://discord.gg/crapticraft
[------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Permissions:
See Documentation tab
[------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Commands:
See Documentation tab
[------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Config:
config.yml
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# ----[PosCommands]---- #
# ----[By Loving11ish]---- #
# ----[Plugin Config File]---- #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#Config file for 4.0.0
#If the commands you want to enter require the name of the player triggering them, replace their name
#with the '%player%' placeholder within your command string. This will work on either player run or
#if you have set the command to run from console.
#An example would be 'effect give %player% minecraft:levitation 10 1'
general:
developer-debug-mode:
#Do you want to see a lot of debug messages in console when most actions are performed?
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'false'
enabled: false
notify-triggered-commands:
#Do you want to players with 'pc.notify.triggered` to receive notifications when a command is triggered?
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'true'
enabled: true
commands:
cooldown:
#Do you want to use a cooldown once a player has triggered a command set?
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'true'
enabled: true
#How long do you want the cooldown to be? (In Seconds) (Cooldowns are NOT saved through a restart!)
#OPTIONS: 'number', PLACEHOLDERS: none, DEFAULT:'5'
time: 5
list:
#Below are the commands that are triggered when a player walks over the blocks set below.
#The commands are triggered in the order they are entered below.
#The commands are executed by the player not the console. (Unless 'run-as-console=true')
#Therefore the players must have the relevant permissions assigned.
#The commands entered below DO NOT require the '/' before them.
#You can add as many command locations as you like.
#More commands can be triggered by adding more 'commands' sections below on each block combinations.
#The 'enabled' option must be set to 'true' for the commands to be triggered.
#PLACEHOLDERS: '%player%, %uuid%, %x%, %y%, %z%, %world%'
#Example:
# 1: #This is the unique id of the command location. (Must be unique and numerical)
# id: "Location1" #This is the unique name of the command location. (Cannot contain spaces)
# enabled: true #Do you want this command location to be enabled?
# top-trigger-block: OAK_PRESSURE_PLATE #The top block that triggers the command when walked over.
# bottom-trigger-block: BEDROCK #The bottom block that triggers the command when walked over.
# tp-away-enabled: false #Do you want the player to be teleported away when the command is triggered?
# tp-away-world: 'world' #The world the player will be teleported to.
# tp-away-x: 0.0 #The x coordinate the player will be teleported to.
# tp-away-y: 100.0 #The y coordinate the player will be teleported to.
# tp-away-z: 0.0 #The z coordinate the player will be teleported to.
# tp-away-yaw: 0.0 #The yaw the player will be teleported to.
# tp-away-pitch: 0.0 #The pitch the player will be teleported to.
# commands: #The commands that are triggered when the player walks over the blocks.
# 1: #This is the unique id of the command. (Must be unique and numerical)
# id: 1 #This is the unique name of the command. (Must be unique and numerical)
# enabled: true #Do you want this command to be enabled?
# run-as-console: false #Do you want this command to be run as console?
# command: 'kit starter' #The command that is triggered when the player walks over the blocks.
# 2:
# id: 2
# enabled: false
# run-as-console: false
# command: 'balance'
# 3:
# id: 3
# enabled: false
# run-as-console: false
# command: 'warp spawn'
# 4:
# id: 4
# enabled: false
# run-as-console: false
# command: ''
1:
id: "Location1"
enabled: true
top-trigger-block: OAK_PRESSURE_PLATE
bottom-trigger-block: BEDROCK
tp-away-enabled: false
tp-away-world: 'world'
tp-away-x: 0.0
tp-away-y: 100.0
tp-away-z: 0.0
tp-away-yaw: 0.0
tp-away-pitch: 0.0
commands:
1:
id: 1
enabled: true
run-as-console: false
command: 'kit starter'
2:
id: 2
enabled: false
run-as-console: false
command: 'balance'
3:
id: 3
enabled: false
run-as-console: false
command: 'warp spawn'
4:
id: 4
enabled: false
run-as-console: false
command: ''
2:
id: "Location2"
enabled: false
top-trigger-block: STONE_PRESSURE_PLATE
bottom-trigger-block: REDSTONE_BLOCK
tp-away-enabled: false
tp-away-world: 'world'
tp-away-x: 0.0
tp-away-y: 100.0
tp-away-z: 0.0
tp-away-yaw: 0.0
tp-away-pitch: 0.0
commands:
1:
id: 1
enabled: false
run-as-console: false
command: 'rules'
2:
id: 2
enabled: false
run-as-console: false
command: ''
3:
id: 3
enabled: false
run-as-console: false
command: ''
4:
id: 4
enabled: false
run-as-console: false
command: ''
3:
id: "Location3"
enabled: false
top-trigger-block: SPRUCE_PRESSURE_PLATE
bottom-trigger-block: OBSIDIAN
tp-away-enabled: false
tp-away-world: 'world'
tp-away-x: 0.0
tp-away-y: 100.0
tp-away-z: 0.0
tp-away-yaw: 0.0
tp-away-pitch: 0.0
commands:
1:
id: 1
enabled: false
run-as-console: false
command: ''
2:
id: 2
enabled: false
run-as-console: false
command: ''
3:
id: 3
enabled: false
run-as-console: false
command: ''
4:
id: 4
enabled: false
run-as-console: false
command: ''
4:
id: "Location4"
enabled: false
top-trigger-block: SPRUCE_PRESSURE_PLATE
bottom-trigger-block: OBSIDIAN
tp-away-world: 'world'
tp-away-x: 0.0
tp-away-y: 100.0
tp-away-z: 0.0
tp-away-yaw: 0.0
tp-away-pitch: 0.0
commands:
1:
id: 1
enabled: false
run-as-console: false
command: ''
2:
id: 2
enabled: false
run-as-console: false
command: ''
3:
id: 3
enabled: false
run-as-console: false
command: ''
4:
id: 4
enabled: false
run-as-console: false
command: ''
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#messages.yml
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# ----[PosCommands]---- #
# ----[By Loving11ish]---- #
# ----[Plugin Messages File]---- #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#Message config file for 4.0.0
#Plugin prefix
prefix: "&f[&ePC&f]"
#Plugin command messages
reload-beginning: "&aBeginning plugin reload..."
reload-complete: "&aPlugin reload completed!"
reload-broadcast: "&aThe plugin is being reloaded, please do not use PosCommands until completed!"
#Configured command responses
cooldown: "&cSorry, you cannot use that for another &e%TIMELEFT% &cseconds!"
command-location-disabled: "&cSorry, this command location is currently disabled!"
location-toggle-responses:
enabled: "&aCommand location &e%COMMANDID% &ais now enabled!"
already-enabled: "&cCommand location &e%COMMANDID% &cis already enabled!"
enabled-incorrect-usage: "&cUnknown command! Please use &e/pcenable <command-id>&c."
disabled: "&cCommand location &e%COMMANDID% &cis now disabled!"
already-disabled: "&cCommand location &e%COMMANDID% &cis already disabled!"
disabled-incorrect-usage: "&cUnknown command! Please use &e/pcdisable <command-id>&c."
admin-notifications:
player-used-command: "&e%PLAYER% &bused the CommandLocation &e%COMMANDID% &bat location: &e%X%, &e%Y%, &e%Z% &bin world: &e%WORLD%&b."
#General messages
no-permission: "&cSorry, you do not have permission to use that!"
#Plugin update messages
update-available:
1: "&4*-------------------------------------------*"
2: "&c- A new version is available!"
3: "&4*-------------------------------------------*"
no-update:
1: "&a*-------------------------------------------*"
2: "&a- Plugin is up to date!"
3: "&a*-------------------------------------------*"
update-check-failure: "&4- Unable to check for updates! - &c"
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#[------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
To Do:
Command trigger cool downs- DONE v3.6Add unlimited command locations- DONE v4.0.0Add unlimited commands per location- DONE v4.0.0Add commands to enable/disable locations- DONE v4.0.0Add support for Folia- DONE v3.8.3
[------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
EULA:
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

