Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated for 1.1-R5

  • Loading branch information...
commit e372ccdf8388de31fc9df3cbceef81cfcb7a7440 1 parent 92e64b7
@zydeco authored
View
28 config.yml
@@ -1,28 +0,0 @@
-# tips by world, or 'global' for all worlds
-# delay/period is in minutes
-# color code: $x, where x is the color code [0-9a-f]
-
-global:
- - period: 1
- delay: 0
- tips:
- - "$3Remember to register at our forums, somewhere"
-
-world:
- # every 5 minutes, one of those 3 messages
- - period: 5
- tips:
- - "$6Hello, world"
- - $BSomething random
- - $FSomething even more random
- # every minute
- - period: 1
- delay: 0
- tips:
- - $5Another minute has elapsed
-
-nether:
- # every 2 minutes
- - period: 2
- tips:
- - $4be careful!
View
3  nbproject/build-impl.xml
@@ -836,11 +836,12 @@ is divided into following sections:
<classpath>
<path path="${javac.classpath}"/>
</classpath>
- <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
+ <fileset dir="${src.dir}" excludes="*.java,${excludes}" includes="${includes}">
<filename name="**/*.java"/>
</fileset>
<fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
<include name="**/*.java"/>
+ <exclude name="*.java"/>
</fileset>
</javadoc>
<copy todir="${dist.javadoc.dir}">
View
4 nbproject/genfiles.properties
@@ -4,5 +4,5 @@ build.xml.stylesheet.CRC32=28e38971@1.43.1.45
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=6f545455
-nbproject/build-impl.xml.script.CRC32=fd870172
-nbproject/build-impl.xml.stylesheet.CRC32=0c01fd8e@1.43.1.45
+nbproject/build-impl.xml.script.CRC32=09e6a6b6
+nbproject/build-impl.xml.stylesheet.CRC32=0ae3a408@1.44.1.45
View
4 nbproject/project.properties
@@ -26,12 +26,12 @@ dist.jar=${dist.dir}/Tips.jar
dist.javadoc.dir=${dist.dir}/javadoc
endorsed.classpath=
excludes=
-file.reference.bukkit-0.0.1-SNAPSHOT.jar=../bukkit-0.0.1-SNAPSHOT.jar
+file.reference.bukkit-1.1-R5-20120224.051137-12.jar=../bukkit-1.1-R5-20120224.051137-12.jar
file.reference.Tips-src=src
includes=**
jar.compress=false
javac.classpath=\
- ${file.reference.bukkit-0.0.1-SNAPSHOT.jar}
+ ${file.reference.bukkit-1.1-R5-20120224.051137-12.jar}
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
View
4 src/net/namedfork/bukkit/Tips/Tips.java
@@ -47,7 +47,7 @@ public void onDisable() {
private List<TipSet> tipSetsForWorld(World w) {
try {
// get list of tips for world from config
- List tipList = getConfiguration().getList(w == null?"global":w.getName());
+ List tipList = getConfig().getList(w == null?"global":w.getName());
if (tipList == null) return null;
List<TipSet> tipSets = new ArrayList<TipSet>(tipList.size());
// create TipSet for every item
@@ -75,7 +75,7 @@ public boolean loadConfig(CommandSender sender) {
// load config
try {
- getConfiguration().load();
+ this.getConfig();
} catch (Exception e) {
msg = "Invalid tips configuration file.";
logger.log(Level.INFO, "[Tips] " + msg);
View
2  src/plugin.yml
@@ -1,6 +1,6 @@
name: Tips
main: net.namedfork.bukkit.Tips.Tips
-version: 1.0.2
+version: 1.0.3
author: Jesús A. Álvarez
authorEmail: zydeco@namedfork.net
authorUrl: http://namedfork.net
Please sign in to comment.
Something went wrong with that request. Please try again.