Tips
This plugin will allow you to set custom messages to be broadcasted by the server periodically. A similar plugin with more features is rTriggers.
Features:
- Global, per-world and per-group (via permissions) tips
- Use colour codes on your tips
- Different sets of tips with different periods
- Show tips randomly or sequentially
- Configurable in settings file (plugins/Tips/config.yml)
- /tips reload command to reload the config file, available to ops or users with "tips.reload" permission
Note: It does not create a default config file, you must download the example, put it in plugins/Tips/config.yml and modify it for your needs
still works 1.7.9
the example config has 1 space too many on line 24, hence the error pointing to line 24
strontkever.com possibly back to life
@EpicCraft1235
Please do I love this plugin :D
If the owner is not going to update this, I might
@Frosty39801
That means The plugin dosent work and take it out...
just go www.funskyblock.enjin.com if u help me upgraded u will be the co-owner of my sever
lol http://serverlistminecraft.com/images/statusbanners/strontkever.png
still works like a charm on 1.5
tip: read documentation to create a proper config file (lol)
I put the jar in my plugins folder, but when I restart the server a folder for it is not created, thus it doesnt work. Help?
help!!!
12:06:58 [SEVERE] Cannot load plugins/Tips/config.yml org.bukkit.configuration.InvalidConfigurationException: mapping values are not allowed here in "<string>", line 29, column 14: period: 2 ^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175) at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117) at net.namedfork.bukkit.Tips.Tips.loadConfig(Tips.java:78) at net.namedfork.bukkit.Tips.Tips.onEnable(Tips.java:32) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_4_6.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_4_6.MinecraftServer.j(MinecraftServer.java:321) at net.minecraft.server.v1_4_6.MinecraftServer.e(MinecraftServer.java:300) at net.minecraft.server.v1_4_6.MinecraftServer.a(MinecraftServer.java:259) at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java:149) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: mapping values are not allowed here in "<string>", line 29, column 14: period: 2 ^
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:733) at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:305) at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179) at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563) at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:204) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ... 17 more
@mycal98
"Note: It does not create a default config file, you must download the example, put it in plugins/Tips/config.yml and modify it for your needs"
I put the Tips.jar in my plugins folder and have the config ready. Do i need to restart the server for the folder to be created?
Not hating or anything, but is there a reason we have to create the config manually like cavemen? :D
Its dont work for me. I miss the config.yml file??
running just fine on 1.4.5 here..
@KNLS
try to check your cfg file for formatting and edit an example instead of typing out your own
Running this with CB 1.4.5-R0.1 does not work for me. When doing /tips reload the console says something about "tipSetsForWorld: java.lang.ArrayStoreException" and it acts as there are no tips in the config.
@rexgmk
using it on 1.4.2 right now - works well.
is this 1.4.2?
try putting this in the config file
https://github.com/zydeco/Tips/blob/master/config.yml
I get that error.. done nothing but to create the folder Tips, the config.yml and the default text
Please updated to fix for 1.3