From fe9e1577c85ae4fa070a47b3288240fc9461f69c Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sun, 12 Jun 2016 09:02:05 +0000 Subject: [PATCH] Fixed cron example. --- .../dist/game/data/scripts/cron/documentation.txt | 14 +++++++------- trunk/dist/game/data/scripts/cron/example.java | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/trunk/dist/game/data/scripts/cron/documentation.txt b/trunk/dist/game/data/scripts/cron/documentation.txt index 6cd4d51ac9..e61edc4370 100644 --- a/trunk/dist/game/data/scripts/cron/documentation.txt +++ b/trunk/dist/game/data/scripts/cron/documentation.txt @@ -1,8 +1,8 @@ -Most of the scripts found within the "scripts" folder are initialized on server start, but -do not run anything except when triggered by a player. For scripts that need to be ran -automatically, without any player interaction, cron can be used. -Using the format demonstrated in the example.py script, one can setup tasks that run -automatically at server boot. In addition, advanced users can include other classes from java -and setup timed tasks, such as special events that have universal drops for a certain period of time. - +Most of the scripts found within the "scripts" folder are initialized on server start, but +do not run anything except when triggered by a player. For scripts that need to be ran +automatically, without any player interaction, cron can be used. +Using the format demonstrated in the example.java script, one can setup tasks that run +automatically at server boot. In addition, advanced users can include other classes from java +and setup timed tasks, such as special events that have universal drops for a certain period of time. + The server admins can feel free to add more folders like cron and include them in their servers. \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/cron/example.java b/trunk/dist/game/data/scripts/cron/example.java index 2c2b5e13f6..2b947c1806 100644 --- a/trunk/dist/game/data/scripts/cron/example.java +++ b/trunk/dist/game/data/scripts/cron/example.java @@ -19,7 +19,7 @@ package cron; import com.l2jmobius.gameserver.scripting.annotations.Disabled; @Disabled -public class Example +public class example { public static void main(String[] args) {