Sueta
GA

GameTime - Similar to warcraft's fee access management tool

1.5.4

Payment access solutions for the new era!

·Plugin

GameTime

This plugin is similar to warcraft's fee access,it can help server owners to manage players' game times.

Install

  1. Put ProtocolLib and this plugin to ./plugins.
  2. Run the minecraft server.
  3. Edit your context in ./plugins/Gametime/config.yml .
  4. Restart the minecraft server (or use /gt reload to reload the config file).

Commands and Permissions

#Show GameTime's version and author. 
/gt 
gametime.gt 

#Show GameTime's help content 
/gt help 
gametime.help 

#Use key which named [key] 
/gt use [key] 
gametime.use 

#Check your remaining time 
/gt check 
gametime.check 

#Check the remaining time of players who named [name] 
/gt check [name] 
gametime.checkother 

#Check the stats of [Key],return 'create_time'、'vaule' item value in database 
#Return 'user'、'use_time' if the key be used 
/gt key [Key] 
gametime.checkkey 

#Add [name] with [time] minute 
/gt add [name] [time] 
Console Only (Accoding to 'op_can_use_add' in config file) 

#creat keys with [amount] and [time] seconds. 
/gt create [time] [amount] 
Console Only 

#Export Keys which unused,and just export vaule of {time} if you input this item 
/gt export {time} 
Console Only 

#Reload plugin 
/gt reload 
Console Only 

#Bypass billing 
gametime.bypass

PlaceholderAPI Support

#Show remaining time as 'time_format' item in config file 
%GameTimeRemain% 

#Show remaining time as all minutes (such as 4500minutes) 
%GameTimeRemainMin%


Database Structure

#Player log 
TIME: 
        user(String) 
        #Player's ID 
        time(long) 
        #Player's remaining time(seconds) 

#Key main log,created and unused keys 
MAP: 
       account(String) 
       #Key vaule as UUID criterion 
       create_time(date) 
       #Key's created time 
       value(long) 
       #Key's vaule (seconds) 

#Key deputy log,created but used keys 
LOG: 
       user(String) 
       #Player's ID 
       account(String) 
       #Key vaule as UUID criterion 
       time(date) 
       #Key's used time 
       value(long) 
       #Key's vaule (seconds)

Similar projects

Plugin →