Terms of Use [File/MySQL] | Accept on Join! [1.8.0 - 1.13.2]
1.0.1Get players to accept a term in order to play!
- Get players to accept a term in order to play
- Open a GUI (Inventory) on join (look: Pictures)
- MySQL & File Support
- Save Playername, IP, UUID and LastSeen date in file or database
- Full changeable messages
- Full changeable GUI
- Clean Config.yml
Other Pictures
Config.yml
##########################################################################
# ALL MySQL OPTIONS IN "mysql.yml" © 2018 CraftFull, all rights reserved #
##########################################################################
Config :
####################################################################
# YOU CAN CHOOSE BETWEEN "FILE" AND "MYSQL" #
# TO USE MySQL YOU HAVE TO ACTIVATE IT IN THE "mysql.yml" FILE TOO #
####################################################################
# The better choice is "MYSQL", because with "FILE" the server #
# could start to lag if you have many players! #
####################################################################
Use : FILE
General :
Prefix : '&8 [ &9TermsOfUse&8 ] '
NoPermission : '&cYou do not have permission to perform this command'
Accepted : '&aYou successfully accepted the terms of use!'
# You can use here the "%newline%" variable to get into a new line!
KickMessage : '&cYou got kicked! %newline%&fReason: &4You have to accept the Terms of Use!'
Inventory :
# The name of the inventory
Displayname : '&aTerms of Use'
# The lines of the inventory // To get the slots the lines will get multiplied with 9 // It is to make it for you easier
Lines : 5
# The block the inventory get filled with
Filling :
Enabled : true
Type : STAINED_GLASS_PANE
ShortID : 15
Items :
Terms :
Displayname : '&9We are saving ... '
Lore :
- '&7Your Playername'
- '&7Your UUID'
- '&7Your IP'
- '&7Your last online date'
Type : BOOK
Slot : 13
Accept :
Displayname : '&aAccept'
Type : WOOL
ShortID : 5
Slot : 22
Deny :
Displayname : '&cDeny'
Type : REDSTONE_BLOCK
ShortID : 0
Slot : 31
#######################################################################################################
# This is only for the players file if you do not use MySQL. In the MySQL database will get saved all #
#######################################################################################################
Save :
# Save the players name in the players file
Name : true
# Save the players IP adress in the players file
IP : true
# Save the players UUID in the players file
UUID : true
# Save the players last online date with time in the players file
Date : truemysql.yml
Enabled : false
Host : localhost
Port : '3306'
Database : database
Username : username
Password : '123'- The Permission for all of this is: tou.reload
- /tou - Usage help
- /tou reload - Reload the plugin
- /tou status - Show infos about the plugin (Look: Pictures)
If you have wishes or bugs, please contact me using spigot PM.
Have fun with the plugin! :D
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta