PlayerTrash

Script PlayerTrash 1.0.0

  • 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!

Supported Minecraft Versions
  1. 1.8
  2. 1.9
  3. 1.10
  4. 1.11
  5. 1.12
  6. 1.13
  7. 1.14
  8. 1.15
  9. 1.16
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:
options:
    OnlineModeServer: true
    #If the server is Premium/ Online Mode, leave true. Default = true
    
    ClearTrashlOnClose: false
    #Clear the trash on close. Default = false
    
    GUIName: &0&lYour Trash.
    #The name of the Trash GUI. Default = &0&lYour Trash
    
    OpenGUIMessage: &a&lYou opened &0&lYour Trash.
    #A chat message when open Trash GUI. If don't want, leave blank. Default = &a&lYou opened &0&lYour Trash
    
    ClearTrashCommand: true
    #Use the command to clear the trash (/cleartrash). Default = true
    
    DisabedClearTrashCommandMessage: &4Sorry, this command is disabled.
    #If the command to clear the trash is disabled, shows a message in the chat. Default = &4Sorry, this command is disabled
    
    ClearedTrashMessage: &a&lYour Trash was cleared.
    #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
    
    NoPermissionMessage: &4You don't have permission for this.
    #If the player don't have permission for a command, shows this message. Default = &4You don't have permission for this.
    
    NotFoundPlayer: &4That player doesn't exists or don't have a trash.
    #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.
Author
Slaim36
Downloads
576
Views
576
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Slaim36