diff --git a/RealTime/README.md b/RealTime/README.md new file mode 100644 index 0000000..fed647a --- /dev/null +++ b/RealTime/README.md @@ -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 diff --git a/RealTime/config.yml b/RealTime/config.yml new file mode 100644 index 0000000..c62bdda --- /dev/null +++ b/RealTime/config.yml @@ -0,0 +1,5 @@ +--- +Time changes: 0 +Tell time: true +Tell time interval in minuts: 5 +... diff --git a/RealTime/plugin.yml b/RealTime/plugin.yml new file mode 100644 index 0000000..71ee7d7 --- /dev/null +++ b/RealTime/plugin.yml @@ -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