View difference between Paste ID: 5Gp5FTWT and 3ESQudbF
SHOW: | | - or go back to the newest paste.
1-
[14:04:01 WARN]: [SimpleAnnouncer] Task #12 for SimpleAnnouncer v2.0 generated a
1+
#################################
2-
n exception
2+
# SimpleAnnouncer Configuration #
3-
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
3+
#################################
4-
        at java.util.ArrayList.rangeCheck(Unknown Source) ~[?:1.7.0]
4+
5-
        at java.util.ArrayList.get(Unknown Source) ~[?:1.7.0]
5+
Locale: en_UK # The locale for the plugin. Requires a translated locale file. Defaults to en_UK
6-
        at me.kieranwallbanks.simpleannouncer.SimpleAnnouncer.announceNORMAL(Sim
6+
              # To use a custom locale make sure you have the appropriate file in the LangFiles folder
7-
pleAnnouncer.java:295) ~[?:?]
7+
              # The format is [LOCALE].properties
8-
        at me.kieranwallbanks.simpleannouncer.SimpleAnnouncer.broadcastMessage(S
8+
9-
impleAnnouncer.java:258) ~[?:?]
9+
DebugMode: false # Spams a load of stuff to the console. Useful for error reporting
10-
        at me.kieranwallbanks.simpleannouncer.SimpleAnnouncer$1.run(SimpleAnnoun
10+
11-
cer.java:54) ~[?:?]
11+
DelayFromStart: 0 # The delay between announcements starting and the first announcement (in seconds)
12-
        at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java
12+
13-
:53) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
13+
Interval: 300 # The interval between announcements (in seconds)
14-
        at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftScheduler.mainThreadHea
14+
15-
rtbeat(CraftScheduler.java:345) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688b
15+
DateFormat: 'hh:mm aa dd/MM/yy' # The date format for all the date related tags
16-
d4-b3092jnks]
16+
                                # See http://v.gd/SimpleDateFormat for more date formatting
17-
        at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:6
17+
18-
00) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
18+
Vault:
19-
        at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:2
19+
  Bother: true # Whether the plugin should even bother doing anything Vault related
20-
60) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
20+
21-
        at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:5
21+
Tag: '[&3SimpleAnnouncer!&f] ' # The prefix for all announcements. You can use tags here too!
22-
58) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
22+
23-
        at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java
23+
AnnouncementMode: NORMAL # NORMAL = Announces in order written and then restarts (defaults NORMAL unless otherwise stated)
24-
:469) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
24+
                         # RANDOM = Announces in a completely random order
25-
        at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:6
25+
                         # SHUFFLE = Announces in a random order but will not repeat announcements until all others have been announced
26-
28) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
26+
27-
>
27+
Announcements:
28
  1: 'This is a test announcement!'
29
  2: '&boldYou can even use &1color &2and &3style codes'
30
  3: 'Thank you for using SimpleAnnouncer :)'
31
  YouDontHaveToUseNumbers: 'New in 1.8: Tags! %version%'
32
  YouCanUseWhateverYouWantHere: 'New in 2.0: Commands, Permissions, Worlds, Groups, More tags: %phealth%. Enjoy!'
33
34
# Announcements run in this order:
35
# Worlds checked -> Groups checked (if Vault is usable) -> Permissions checked -> [RB] Commands executed -> Announcement broadcasted -> Commands executed
36
37
Worlds:
38
  1: 'world' # Again, fairly self explanatory
39
  YouDontHaveToUseNumbers: 'another_world'
40
  3: ['world', 'world_nether', 'world_the_end'] # Broadcast to several worlds with this much easier way of doing YAML lists
41
42
Groups: # VAULT IS NEEDED TO DO GROUP CHECKS
43
  1: 'Admin' # All groups are dependent upon Vault being present.
44
  2: 'Visitor'
45
  3: ['Admin', 'Visitor'] # Broadcast to two groups using the easy list method
46
47
Permissions:
48
  1: 'some.permission' # Fairly self explanatory.
49
  2: 'another.random.permission'
50
  3:
51
    - 'some.permission' # You can split several permissions by spreading them over several lines
52
    - 'another.permission' # This announcement would only go to people with both permissions
53
54
Commands:
55
  1: '/heal %pname%' # You can use tags in commands too!
56
  2: 'smite %pname%' # You don't have to start with a slash...
57
                     # You can even miss out announcements if you want
58
59
  3: # Here's where stuff gets complicated ;)
60
    - 'P:/balance' # Prefix with P: and the command will be run as every player who receives the announcement
61
    - 'C:/heal all' # Same as prefixing with P:, but this command will be run from the console (as op)
62
    - 'say spammy spammy spam spam' # By default the commands will act as if prefixed with C:
63
  YouCanUseWhateverYouWantHere: '[RB]feed %pname%' # Start a command with [RB] and it will be run before the announcement
64
  YouDontHaveToUseNumbers: '[RB]C:/say Hello!' # You can mix the command and order tags. Make sure [RB] is first!