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.

PlayerTrash

Discussion in 'Scripts' started by Slaim36, Jul 25, 2020.

  1. Slaim36

    Slaim36 New Member

    Joined:
    Apr 9, 2020
    Messages:
    8
    Likes Received:
    1
    What's PlayerTrash

    PlayerTrash is a script that allow players to have private trashs.



    Commands and permissions:

    Command: /trash
    Description: Open your trash
    Permission: playertrash.opentrash

    Command: /cleartrash
    Description: Clear your trash
    Permission: playertrash.cleartrash

    Command: /opentrash <player (If OnlineMode is enabled in the config, use the player UUID)>
    Description: Open the trash of other player (recommended to admins)
    Permission: playertrash.opentrash.others

    Configuration (The configuration is inside the script)
    Code (Text):
    1. options:
    2.     OnlineModeServer: true
    3.     #If the server is Premium/ Online Mode, leave true. Default = true
    4.    
    5.     ClearTrashlOnClose: false
    6.     #Clear the trash on close. Default = false
    7.    
    8.     GUIName: &0&lYour Trash.
    9.     #The name of the Trash GUI. Default = &0&lYour Trash
    10.    
    11.     OpenGUIMessage: &a&lYou opened &0&lYour Trash.
    12.     #A chat message when open Trash GUI. If don't want, leave blank. Default = &a&lYou opened &0&lYour Trash
    13.    
    14.     ClearTrashCommand: true
    15.     #Use the command to clear the trash (/cleartrash). Default = true
    16.    
    17.     DisabedClearTrashCommandMessage: &4Sorry, this command is disabled.
    18.     #If the command to clear the trash is disabled, shows a message in the chat. Default = &4Sorry, this command is disabled
    19.    
    20.     ClearedTrashMessage: &a&lYour Trash was cleared.
    21.     #If the command to clear the trash is enabled and the player cleared his/her trash, shows a message in te chat. Default = &a&lYour trash was cleared
    22.    
    23.     NoPermissionMessage: &4You don't have permission for this.
    24.     #If the player don't have permission for a command, shows this message. Default = &4You don't have permission for this.
    25.    
    26.     NotFoundPlayer: &4That player doesn't exists or don't have a trash.
    27.     #When an admin open other trash and that trash don't exists or that player don't exists, shows this message. Default = &4That player doesn't exists or don't have a trash.
    28.    
     

Share This Page

Loading...