1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Script Take a Seat 1.0

Simple sitable benches for Players & Mobs!

  1. j

    This script allows players in survival or adventure mode to take a seat anywhere they like to. The script is quite lightweight and will under no circumstances lag your server.

    Guranteed to work on Skript-dev36 and Spigot 1.12. No add-ons required. Due to the simple nature of this script, many other versions of Skript/Spigot should work - feel free to test, but note that they are not supported.

    See these bad boys in action:
    • Join "jay.lumine.io"
    • You will find benches right next to where you spawn and throughout the server

    • Drop the script anywhere in your scripts folder and reload

    How to create a seat/bench (by default):
    • Place a redstone block
    • Place any stair block above it
    • Done! Right-click the stair block to take a seat. Chris Hansen approves.

    The "check block" can easily be changed from a redstone block to be anything else in the script's code.
    • If you want your players to work for their seats, make them diamond blocks.
    • If only admins/operators should be able to create seats, make them bedrock or barrier blocks
    You can also very easily set in the script's code, in which worlds of your server the seats should be functional, if you want to. By default, they will work in all worlds.

    But wait there's more!
    You can also make mobs/NPCs take a seat!

    If you want to do that, you must apply some code on your own - it depends on your NPCs, naturally.
    Code (Skript):
    1. on spawn of villager:
    2.     # your conditions here
    3.     benchCheck(block below event-entity's location) = true
    4.     benchSit(event-entity, block below event-entity's location)
    Or something like this, if you wanna go funky (not actually recommended):
    Code (Skript):
    1. every second:
    2.     loop all zombies:
    3.         loop-entity's vehicle is not set
    4.         benchCheck(block below loop-entity's location) = true
    5.         benchSit(loop-entity, block below loop-entity's location)
    Please note that how you make your NPCs use the seats is your own business and not a subject of support - unless you encounter issues with my code.

    If you're having issues after your purchase, contact me via [email protected].

    Have fun!
  • About Us

    Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.
  • Support skUnity

    The staff team works very hard to make sure the community is running its best. This means constantly performing upgrades to systems and other features. This does cost a bit of money to keep doing. Donating to skUnity would allow the server to keep running smoothly for years to come!

    Support Us!
  • Join our Discord

    Discord is an all-in-one voice and text chat for gamers that’s free, secure, and works on both your desktop and phone.