With this plugin you can create a
Temporary Inventory or a
Temporary Position.
Discord:
https://discord.gg/vqNUPjKeb8
<Usage and Explanation>
TempInventory:
A
TempInventory is an inventory that is avaible for a limited amount of time.
You can decide to make it
private (so only you and who you allow can use it) or
public (everyone can use it).
- To allow someone to use your TempInventory:
/invtemp allow {player}
- To disallow someone to use your TempInventory:
/invtemp disallow {player}
- To see whose using your TempInventory:
/invtemp viewers
- To close your TempInventory to someone that's using it:
/invtemp close (to close it to all the players that are using it)
/invtemp close {player} (to close it to a specific player)
- To open your TempInventory:
/invtemp
- To open the TempInventory of another player:
- /invtemp open {player}
TempPosition:
A
TemporaryPosition is a position that is saved for a limited amount of time, you can choose how many times a player can teleport to his TempPosition.
- To create a TempPosition at your location:
/tptemp
- To teleport to your TempPosition:
/tptemp (after you've created one)
<Permissions>
- temporary.*
- temporary.tptemp
- temporary.tptemp.nocooldown
This permission allows you to avoid the cooldown to use the tptemp command
- temporary.invtemp
- temporary.invtemp.create
- temporary.invtemp.create.public
- temporary.invtemp.create.private
- temporary.invtemp.open
- temporary.invtemp.open.yours
- temporary.invtemp.open.other
- temporary.invtemp.allow
- temporary.invtemp.disallow
- temporary.invtemp.viewers
- temporary.invtemp.close
- temporary.invtemp.close.all
- temporary.invtemp.close.player
<Config>
Code (YAML):
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# | TEMPORARY CONFIGURATION FILE |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# Version: 1.1.0
# Author: Brexx
# Discord: https://discord.gg/vqNUPjKeb8
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# | GENERAL SETTINGS |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
prefix
: §1§l
[§9§oTemp§1§l
]
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# | TEMPORARY INVENTORY SETTINGS |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
invtemp-time-avaible-in-seconds
: 300
invtemp-send-warning-message
: true
invtemp-send-warning-message-time-in-seconds
: 90
#Defines the time to send the warning message before the TempInventory is eliminated
#Ex: (time-avaible-in-seconds) - (send-warning-message-time-in-seconds)
#It cannot be greater than time-avaible-in-seconds
create-chest-on-crash
: true
#If the server crashes it places a chest (for each player that has a TempInventory) with the content of their TempInventory
create-chest-when-time-up
: true
#If the time is up and the TempInventory of a player has something in it, it places a chest with the content of their TempInventory
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# | TEMPORARY TELEPORT SETTINGS |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
tptemp-time-avaible-in-seconds
: 90
cooldown
: true
cooldown-in-seconds
: 300
tptemp-send-warning-message
: true
tptemp-send-warning-message-time-in-seconds
: 20
tptemp-times
: 1
#Defines how many times a player can teleports to his TempPosition
#It cannot be less than 1