SitLayPlugin 1.14+ (1.1)

/sit and /lay commands for 1.14+

  1. Xikki
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.14
    • 1.15
    • 1.16
    Overview
    This plugin implement /sit and /lay commands (Just like a SimpleSit plugin).
    Sit
    This command is no different from the similar command in the SimpleSit plugin...

    upload_2020-10-5_18-14-51.png
    P.S. You can fully configure the permissions to use this command and message in the config file (.../plugins/SitLayPlugin/config.yml)
    Lay
    My implementation of this command is colossally different from the analog in the SimpleSit plugin:
    • You can see your laying character
    upload_2020-10-5_18-35-59.png
    P.S. no one but you sees you, they only see the laying player

    Configuration

    enabled: This field is responsible for whether the plugin commands will work.
    viewRadius: This field is responsible for how far away other players can see laying players (I don't recommend set more than 50 blocks).
    timerDelay: This field is responsible for the delay with which information about the recumbent players will be updated (if the plugin causes a heavy load, I recommend increasing this value).
    permissions:

    • sit: This field is responsible for what the player must have permission to use /sit command.
    • lay: This field is responsible for what the player must have permission to use /lay command.
    messages:
    • notEnoughPermissions: This field is responsible for what message will be sent to the player if he does not have enough rights to execute this command.
    • runFromConsole: This field is responsible for what message will be sent if the command is executed from the console.
    • runWhenDisabled: This field is responsible for what message will be sent if the player tries to execute a command when the plugin is disabled.
    • unknownCommandFormat: This field is responsible for what message will be sent if the player tries to execute an incorrect command.
    • runWhenSleeping: This field is responsible for what message will be sent if a player tries to execute a command while in bed.
    • runWhenLaying: This field is responsible for what message will be sent if the player tries to execute lay command while he is sitting.
    • runWhenIsntOnGround: This field is responsible for what message will be sent if a player tries to execute a command while not on the ground.
    • runWhenSitting: This field is responsible for what message will be sent if the player tries to execute sit command while he is laying.
    • startSitting: This field is responsible for what message will be sent when the player sits down.
    • stopSitting: This field is responsible for what message will be sent when the player stands up.
    • startLaying: This field is responsible for what message will be sent when the player lay down.
    • stopLaying: This field is responsible for what message will be sent when the player stands up.

    API
    The plugin has its own events, such as:
    • PlayerStartLayingEvent
    • PlayerStartSittingEvent
    • PlayerStopLayingEvent
    • PlayerStopSittingEvent
    which listeners you can create in your plugins

    Addition

    The plugin is still poorly tested, due to which there may be a large number of bugs, over time I will fix them all if you tell me about them
    Thanks for 50 downloads in 2 days :eek:
    Thanks for 100 downloads :eek:
    Wixend likes this.

Recent Updates

  1. Reflection Update