PosCommands 2.9

Trigger commands just by walking over a block!

  1. Loving11ish
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/Loving11ish/PosCommands/tree/master
    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.

    [------------------------------------------------------------------------------------------------------------------------------------------------------------------------]

    Want to see this plugin in action, you can join my dev server and try out the PosCommands for your self!

    Crapticraft Logo 640x640.png

    [mc.crapticraft.com]

    [------------------------------------------------------------------------------------------------------------------------------------------------------------------------]

    Want to discuss my plugin:
    Visit our discord channel https://discord.gg/n2NBkRC

    [------------------------------------------------------------------------------------------------------------------------------------------------------------------------]

    Permissions:
    posCommands.update
    posCommands.reload

    [------------------------------------------------------------------------------------------------------------------------------------------------------------------------]

    Commands:
    /pcreload - This reloads the plugins config file.

    [------------------------------------------------------------------------------------------------------------------------------------------------------------------------]

    Config:

    Code (Text):
    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
    #                                       ----[PosCommands]----                                       #
    #                                     ----[By Loving11ish]----                                      #
    #                                   ----[mc.crapticraft.com]----                                    #
    #                                   ----[Plugin Config File]----                                    #
    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

    #This is for the first block combination
    #This sets the combination of blocks that the player walks over to trigger the commands.
    Top-Trigger-Block-1: OAK_PRESSURE_PLATE
    Bottom-Trigger-Block-1: BEDROCK

    #This sets a location that the player can be sent once they trigger the commands.
    #This is useful if you wish the player to be moved away from the trigger to prevent spamming.
    1-TP-Enabled: false
    1-TP-Once-Triggered-X: 0
    1-TP-Once-Triggered-Y: 100
    1-TP-Once-Triggered-Z: 0

    #These commands are triggered when a player walks over the blocks set above (the '/' is not required).
    #Enter the commands below, up to 4 commands can be triggered simultaneously.
    #All commands are executed by the player not the console, therefore the players must have the relevant permissions assigned.
    1-Command-1-enabled: true
    1-run-as-console-1: false
    1-Command-1: 'kit starter'

    1-Command-2-enabled: false
    1-run-as-console-2: false
    1-Command-2: 'enjin points'

    1-Command-3-enabled: false
    1-run-as-console-3: false
    1-Command-3: 'warp spawn'

    1-Command-4-enabled: false
    1-run-as-console-4: false
    1-Command-4: ''

    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

    #This is for a second block combination.
    #This sets the combination of blocks that the player walks over to trigger the commands.
    Top-Trigger-Block-2: STONE_PRESSURE_PLATE
    Bottom-Trigger-Block-2: REDSTONE_BLOCK

    #This sets a location that the player can be sent once they trigger the commands.
    #This is useful if you wish the player to be moved away from the trigger to prevent spamming.
    2-TP-Enabled: false
    2-TP-Once-Triggered-X: 0
    2-TP-Once-Triggered-Y: 100
    2-TP-Once-Triggered-Z: 0

    #These commands are triggered when a player walks over the blocks set above (the '/' is not required).
    #Enter the commands below, up to 4 commands can be triggered simultaneously.
    #All commands are executed by the player not the console, therefore the players must have the relevant permissions assigned.
    2-Command-1-enabled: false
    2-run-as-console-1: false
    2-Command-1: 'rules'

    2-Command-2-enabled: false
    2-run-as-console-2: false
    2-Command-2: ''

    2-Command-3-enabled: false
    2-run-as-console-3: false
    2-Command-3: ''

    2-Command-4-enabled: false
    2-run-as-console-4: false
    2-Command-4: ''

    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

    #This is for a third block combination.
    #This sets the combination of blocks that the player walks over to trigger the commands.
    Top-Trigger-Block-3: SPRUCE_PRESSURE_PLATE
    Bottom-Trigger-Block-3: OBSIDIAN

    #This sets a location that the player can be sent once they trigger the commands.
    #This is useful if you wish the player to be moved away from the trigger to prevent spamming.
    3-TP-Enabled: false
    3-TP-Once-Triggered-X: 0
    3-TP-Once-Triggered-Y: 100
    3-TP-Once-Triggered-Z: 0

    #These commands are triggered when a player walks over the blocks set above (the '/' is not required).
    #Enter the commands below, up to 4 commands can be triggered simultaneously.
    #All commands are executed by the player not the console, therefore the players must have the relevant permissions assigned.
    3-Command-1-enabled: false
    3-run-as-console-1: false
    3-Command-1: ''

    3-Command-2-enabled: false
    3-run-as-console-2: false
    3-Command-2: ''

    3-Command-3-enabled: false
    3-run-as-console-3: false
    3-Command-3: ''

    3-Command-4-enabled: false
    3-run-as-console-4: false
    3-Command-4: ''

    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

    #This is for a forth block combination.
    #This sets the combination of blocks that the player walks over to trigger the commands.
    Top-Trigger-Block-4: DARK_OAK_PRESSURE_PLATE
    Bottom-Trigger-Block-4: SPRUCE_LOG

    #This sets a location that the player can be sent once they trigger the commands.
    #This is useful if you wish the player to be moved away from the trigger to prevent spamming.
    4-TP-Enabled: false
    4-TP-Once-Triggered-X: 0
    4-TP-Once-Triggered-Y: 100
    4-TP-Once-Triggered-Z: 0

    #These commands are triggered when a player walks over the blocks set above (the '/' is not required).
    #Enter the commands below, up to 4 commands can be triggered simultaneously.
    #All commands are executed by the player not the console, therefore the players must have the relevant permissions assigned.
    4-Command-1-enabled: false
    4-run-as-console-1: false
    4-Command-1: ''

    4-Command-2-enabled: false
    4-run-as-console-2: false
    4-Command-2: ''

    4-Command-3-enabled: false
    4-run-as-console-3: false
    4-Command-3: ''

    4-Command-4-enabled: false
    4-run-as-console-4: false
    4-Command-4: ''

    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
    #                                       ----[PosCommands]----                                       #
    #                                     ----[By Loving11ish]----                                      #
    #                                   ----[mc.crapticraft.com]----                                    #
    #                                 ----[Plugin Messages Config]----                                  #
    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

    #This section allows you to configure the plugins messages to suit your needs.
    #Traditional color codes can be used here or the 1.16+ HEX codes are also supported.

    #Plugin responses

    #Config-reload-success:
    Reload-1: "&e[---------------------------------------------------]"
    Reload-2: "&aConfiguration file has been successfully reloaded!"
    Reload-3: "&e[---------------------------------------------------]"

    Reload-command-no-permission: "&4You do not have the permission &eposCommands.reload &4needed to run that command!"

    #Plugin-update-available:
    Update-1: "&4*-------------------------------------------*"
    Update-2: "&b[PosCommands] &c- A new version is available!"
    Update-3: "&4*-------------------------------------------*"

    #Plugin-no-new-update:
    No-update-1: "&a*-------------------------------------------*"
    No-update-2: "&b[PosCommands] &a- Plugin is up to date!"
    No-update-3: "&a*-------------------------------------------*"
    Update-check-failure: "&b[PosCommand] &4- Unable to check for updates! - &c"

    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

    [------------------------------------------------------------------------------------------------------------------------------------------------------------------------]

    Thank you very much for taking the time to view my resource, if you have any issues, please leave a post on the discussions tab. Happy Minecrafting!
    YiMengXiaoyao and Resoluciones like this.

Recent Updates

  1. Console commands & HEX colour
  2. 1.16.5 Support
  3. Source Code Repository

Recent Reviews

  1. zebulun
    zebulun
    5/5,
    Version: 2.9
    Excellent plugin, and a wonderful Dev. This plugin is working extremely well on my adventure dungeon server!
    1. Loving11ish
      Author's Response
      Thanks for the glowing review!
  2. YiMengXiaoyao
    YiMengXiaoyao
    5/5,
    Version: 2.7
    Thank you Developer! This is Great idea!
    I want to publish your plugin on MCBBS,
    Mcbbs is the minecraft community in China
    hoping to get your approval.
    1. Loving11ish
      Author's Response
      Thanks for the 5 stars! You are welcome to link this page on your site!
  3. Resoluciones
    Resoluciones
    5/5,
    Version: 2.7
    Great idea! and very useful! thank you Developer!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    1. Loving11ish
      Author's Response
      Many thanks for the glowing review! I'm glad that you're happy with it.