Upload files to 'RealTime'

This commit is contained in:
Josh North 2017-06-29 13:02:55 -04:00
parent 2897db2363
commit fb3445d266
3 changed files with 51 additions and 0 deletions

17
RealTime/README.md Normal file
View File

@ -0,0 +1,17 @@
# RealTime
Extracted plugin from old PocketMine and minor update to work on PMMP
### CREDIT! ###
Credits - this seems to belong to "Guillaume351" but I couldn't find a git repo to fork from.
### USAGE ###
/hour - get the hour
/rt
enable - enable sync with server time
sunrise - set to sunrise
sunset - set to sunset
day - set to midday
night - set to midnight
disable - go back to normal pmmp time
lock - freeze the time

5
RealTime/config.yml Normal file
View File

@ -0,0 +1,5 @@
---
Time changes: 0
Tell time: true
Tell time interval in minuts: 5
...

29
RealTime/plugin.yml Normal file
View File

@ -0,0 +1,29 @@
#name, main, version and api are required
name: RealTime
main: RealTime\MainClass
version: 2.1.3
api: [3.0.0-ALPHA5, 3.0.0-ALPHA6]
load: POSTWORLD
author: Guillaume351
description: Take control of the time
commands:
rt:
description: Lock the time
usage: "Usage: /rt enable/sunrise/sunset/day/night/disable/lock"
permission: realtime.command.rt
hour:
description: Get tell the hour
usage: "Usage : /hour"
permission: realtime.command.hour
permissions:
realtime.command.rt:
description: "Allows the user to run the rt command to control the time"
default: op
realtime.command.hour :
description : "Allows the users to run the hour command to get tell the hour"
default: true