[Script] Afk chairs icon

[Script] Afk chairs -----

Script for handling afk players



[​IMG]
This resource is not plugin

Afk chairs script is used to add basic element to game.
When player is afk, you can use script and make him sit anywhere on the server.

What is script offering?
- Function, that can be used anywhere
- Customizability
- Command


Requirements:
- Skript
- SkBee


Installation:
- Download the chairs script
- Put script in file located /plugins/skript/scripts


Setting up:
- Open file chairs.sk
- Edit values in "Options" section to your liking
- You can set command name, command permission, height of player, teleportation when player dismounts the chair and all messages​
Code (Text):
#-----------------------------------------------------------------------------------------------------
options:
#basic
    var_prefix: jp.script.chairs                                        #It's safe to leave this default
    command: afksit                                                     #Command name
    permission: skript.chairs.command                                   #Command permission
    height: -1.75                                                       #Chair height
    tp: true                                                            #Should we teleport player up, when he dismounts chair?
    tp_height: 1                                                        #When player dismounts chair, how high should he be teleported
#messages
    added: "&aYou created chair"                                        #Message when chair is added
    list: "&aList of chairs. Click to delete"                           #Header message, when admin use remove command
    removed: "&aChair was removed"                                      #Message when chair location is removed
    click: "&4Click to delete this chair"                               #Hover message when admin use remove command
    empty: "&aList of chairs is empty"                                  #Message when list of chairs is empty
    format: &6%{_n}%.)&f                                                #Format of list, when admin use remove command
    deletedall: "&aYou deleted all variables"                           #Message when admin deletes all variables
    confirm: "&cAre you sure? Type &6%{_command}% deleteall confirm"    #Message when admin use deleteall command without confirm
#command usage
#
#/<yourcommand> <player>                                - Make player teleport to random chair
#/<yourcommand> add                                     - Creates new chair at the location of player
#/<yourcommand> remove                                  - Show list of chairs. Click on line to delete the chair
#/<yourcommand> deleteall confirm                       - Delete all variables

#
#function
    #Description    #JPChairSit(<player> , <location>)
    #Example        #JPChairSit(arg-1, {_location})
#-----------------------------------------------------------------------------------------------------

upload_2022-6-11_10-15-15.png
upload_2022-6-11_10-15-21.png
upload_2022-6-11_10-15-25.png upload_2022-6-11_10-15-29.png upload_2022-6-11_10-15-51.png

FAQ:
Can i edit the file? Yes, script is written to be easily understood and edited

Can i order custom scripts? Yes, you can contact me on my discord

Where to send ideas for improvements? Join my discord and send the idea

Can i order one image, like is the one at top of page? Yes, you can contact me on my discord


Don't use reviews to report bugs or give ideas
Resource Information
Author:
----------
Total Downloads: 175
First Release: Jun 11, 2022
Last Update: Dec 31, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings