Facsk
  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

LimeGlass

VIP
Supporter ++
Regular Diner
Addon Developer
Jan 24, 2017
633
442
73
25
location of "LimeGlass" parsed as player
LimeGlass submitted a new resource:

Facsk - Your Factions addon

aT16CWj.png

FacSk aims to add full control of Factions within Skript.


I have been asked many many times to add Factions support to Skellett (My other Skript addon) I get atleast one or more message a week asking to add support for it. So I decided to make a new Addon. Here you go enjoy!

I plan on adding full Factions support to this addon. Currently there is...

Read more about this resource...
 
Getting an NPE while using bensku's skript (release dev23):

[06:40:09] [Server thread/ERROR]: #!#!
[06:40:09] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[06:40:09] [Server thread/ERROR]: #!#!
[06:40:09] [Server thread/ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[06:40:09] [Server thread/ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
[06:40:09] [Server thread/ERROR]: #!#! and check whether this error has already been reported.
[06:40:09] [Server thread/ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
[06:40:09] [Server thread/ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[06:40:09] [Server thread/ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[06:40:09] [Server thread/ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[06:40:09] [Server thread/ERROR]: #!#!
[06:40:09] [Server thread/ERROR]: #!#! Stack trace:
[06:40:09] [Server thread/ERROR]: #!#! java.lang.NullPointerException
[06:40:09] [Server thread/ERROR]: #!#! at com.gmail.thelimeglass.Factions.Faction.ExprFactionName.get(ExprFactionName.java:45)
[06:40:09] [Server thread/ERROR]: #!#! at com.gmail.thelimeglass.Factions.Faction.ExprFactionName.get(ExprFactionName.java:1)
[06:40:09] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:105)
[06:40:09] [Server thread/ERROR]: #!#! at ch.njol.skript.effects.EffChange.execute(EffChange.java:270)
[06:40:09] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:54)
[06:40:09] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:65)
[06:40:09] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:93)
[06:40:09] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[06:40:09] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:222)
[06:40:09] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:184)
[06:40:09] [Server thread/ERROR]: #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:270)
[06:40:09] [Server thread/ERROR]: #!#! at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:165)
[06:40:09] [Server thread/ERROR]: #!#! at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:35)
[06:40:09] [Server thread/ERROR]: #!#! at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[06:40:09] [Server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[06:40:09] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517)
[06:40:09] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502)
[06:40:09] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_11_R1.PlayerConnection.handleCommand(PlayerConnection.java:1376)
[06:40:09] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1189)
[06:40:09] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
[06:40:09] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
[06:40:09] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13)
[06:40:09] [Server thread/ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[06:40:09] [Server thread/ERROR]: #!#! at java.util.concurrent.FutureTask.run(Unknown Source)
[06:40:09] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46)
[06:40:09] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:830)
[06:40:09] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:403)
[06:40:09] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:754)
[06:40:09] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:652)
[06:40:09] [Server thread/ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
[06:40:09] [Server thread/ERROR]: #!#!
[06:40:09] [Server thread/ERROR]: #!#! Version Information:
[06:40:09] [Server thread/ERROR]: #!#! Skript: 2.2-dev23
[06:40:09] [Server thread/ERROR]: #!#! Bukkit: 1.11.2-R0.1-SNAPSHOT
[06:40:09] [Server thread/ERROR]: #!#! Minecraft: 1.11.2
[06:40:09] [Server thread/ERROR]: #!#! Java: 1.8.0_121 (Java HotSpot(TM) 64-Bit Server VM 25.121-b13)
[06:40:09] [Server thread/ERROR]: #!#! OS: Windows 8.1 amd64 6.3
[06:40:10] [Server thread/ERROR]: #!#!
[06:40:10] [Server thread/ERROR]: #!#! Running CraftBukkit: false
[06:40:10] [Server thread/ERROR]: #!#!
[06:40:10] [Server thread/ERROR]: #!#! Current node: null
[06:40:10] [Server thread/ERROR]: #!#! Current item: set {_fac}(as java.lang.Object) to [the] name of faction %faction%
[06:40:10] [Server thread/ERROR]: #!#!
[06:40:10] [Server thread/ERROR]: #!#! Thread: Server thread
[06:40:10] [Server thread/ERROR]: #!#!
[06:40:10] [Server thread/ERROR]: #!#! End of Error.
[06:40:10] [Server thread/ERROR]: #!#!

The skript I was using is a simple test skript I was using to debug what caused this error... Definitely this addon

code_language.skript:
command /factest [<text>]:
    trigger:
        set {_mplayer} to faction player from player
        set {_factionp} to faction of faction player {_mplayer}
        set {_fac} to name of faction {_faction}
        set {_role} to faction role of faction player {_mplayer}
        set {_title} to title of faction player {_mplayer}
        if {_role} = "leader":
            set {_roley} to "**"
        else if {_role} = "officer":
            set {_roley} to "*"
        else if {_role} = "member":
            set {_roley} to "+"
        else if {_role} = "recruit":
            set {_roley} to "-"
        message "&2[factest]&f &cmplayer: &f%{_mplayer}%"
        message "&2[factest]&f &cfactionp: &f%{_factionp}%"
        message "&2[factest]&f &cfac: &f%{_fac}%"
        message "&2[factest]&f &crole: &f%{_role}%"
        message "&2[factest]&f &ctitle: &f%{_title}%"
        message "&2[factest]&f &croley: &f%{_roley}%"
 
Thanks for sharing, god bless you <3
I want to something. I want to make a scoreboard with skript, then scoreboard'll show top 5 factions. Could you make this ? Thanks.
 
Hi, I'm currently making a factions-fly Skript. But I'm having problems with the territory, I've made this skript. The problem is that it doesn't recognize the territory type although when I use the send "%{vehyron.relations.%{_faction}%.%{_faction2}%}%" it outputs exactly what I put in my skript.
Code:
command /fly:
    trigger:
        if {vehyron.fly.%player%} isn't set:
            set {_p2} to faction player from player
            if faction player {_p2} isn't in own land:
                set {_faction} to the faction at location player's location
                set {_faction} to uncoloured name of faction {_faction}
                set {_factionp} to faction of faction player {_p2}
                set {_faction2} to uncoloured name of faction {_factionp}
                send "%{vehyron.relations.%{_faction}%.%{_faction2}%}%"
                if {vehyron.relations.%{_faction2}%.%{_faction}%} is "ENEMY":
                    send "&8[&cVEHYRON&8]&c Sorry, but you can't fly outside of your own land!" to player
                else if {vehyron.relations.%{_faction}%.%{_faction2}%} is "NEUTRAL":
                    send "lul"
                    if player has permission "ffly.neutral":
                        set {vehyron.fly.%player%} to true
                        set player's fly state to true
                        send "&8[&cVEHYRON&8]&c You enabled fly!" to player
                    else:
                        send "&8[&cVEHYRON&8]&c Sorry, but you can't fly outside of your own land!" to player
                else if {vehyron.relations.%{_faction}%.%{_faction2}%} is "TRUCE":
                    if player has permission "ffly.truce":
                        set {vehyron.fly.%player%} to true
                        set player's fly state to true
                        send "&8[&cVEHYRON&8]&c You enabled fly!" to player
                    else:
                        send "&8[&cVEHYRON&8]&c Sorry, but you can't fly outside of your own land!" to player
                else if {vehyron.relations.%{_faction}%.%{_faction2}%} is "ALLY":
                    if player has permission "ffly.ally":
                        set {vehyron.fly.%player%} to true
                        set player's fly state to true
                        send "&8[&cVEHYRON&8]&c You enabled fly!" to player
                    else:
                        send "&8[&cVEHYRON&8]&c Sorry, but you can't fly outside of your own land!" to player
                else if {vehyron.relations.%{_faction}%.%{_faction2}%} isn't set:
                    if {_faction} isn't set:
                        if player has permission "ffly.wilderness":
                            set {vehyron.fly.%player%} to true
                            set player's fly state to true
                            send "&8[&cVEHYRON&8]&c You enabled fly!" to player
                        else:
                            send "&8[&cVEHYRON&8]&c Sorry, but you can't fly outside of your own land!" to player
                    else:
                        send "lul2"
                        if player has permission "ffly.neutral":
                            send "lul3 %{vehyron.relations.%{_faction}%.%{_faction2}%}%"
                            set {vehyron.fly.%player%} to true
                            set player's fly state to true
                            send "&8[&cVEHYRON&8]&c You enabled fly!" to player
                        else:
                            send "&8[&cVEHYRON&8]&c Sorry, but you can't fly outside of your own land!" to player
                else:
                    send "piemol%{vehyron.relations.%{_faction2}%.%{_faction}%}%"
            else:
                set {vehyron.fly.%player%} to true
                set player's fly state to true
                send "&8[&cVEHYRON&8]&c You enabled fly!" to player
        else:
            clear {vehyron.fly.%player%}
            set player's fly state to false
            send "&8[&cVEHYRON&8] &cYou disabled fly!"
          
on faction relation change:
    set {_faction} to name of faction event-faction
    set {_faction2} to name of faction other event-faction
    set {_faction} to uncoloured {_faction}
    set {_faction2} to uncoloured {_faction2}
    set {vehyron.relations.%{_faction}%.%{_faction2}%} to event rank
    set {vehyron.relations.%{_faction2}%.%{_faction}%} to event rank
    wf "%{vehyron.relations.%{_faction2}%.%{_faction}%}%" to "plugins/Skript/scripts/log.txt"
 
Code:
[LIST=1]
[*]        set {_mplayer} to faction player from player
[*]        set {_factionp} to faction of faction player {_mplayer}
[*]        set {_fac} to name of faction {_faction}
[*]        set {_role} to faction role of faction player {_mplayer}
[*]        set {_title} to title of faction player {_mplayer}
[*]        if {_role} = "leader":
[*]            set {_roley} to "**"
[/LIST]
{_roley} not working, why?
 
I highly appreciate your efforts making this addon, it's exactly what I'm looking for.
Unfortunately, the event [on] [facsk] faction create: doesn't seem to be working. However, the even [on] [facsk] faction disband: works completely fine. Here's my following code:

on facsk faction create:
set {fac} to the name of faction event-faction
broadcast "%{fac}%"


It compiles fine, but it doesn't return the name of the faction. Instead, I would get this error message in the console
  1. [22:29:03] [Server thread/INFO]: LeloDragneel issued server command: /f create Heroes
  2. [22:29:03] [Server thread/ERROR]: #!#!
  3. [22:29:03] [Server thread/ERROR]: #!#! [Skript] Severe Error:
  4. [22:29:03] [Server thread/ERROR]: #!#!
  5. [22:29:03] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
  6. [22:29:03] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
  7. [22:29:03] [Server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
  8. [22:29:03] [Server thread/ERROR]: #!#! Here is full list of them:
  9. [22:29:03] [Server thread/ERROR]: #!#! PlayerMention Facsk
  10. [22:29:03] [Server thread/ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
  11. [22:29:03] [Server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
  12. [22:29:03] [Server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
  13. [22:29:03] [Server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it.
  14. [22:29:03] [Server thread/ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
  15. [22:29:03] [Server thread/ERROR]: #!#! Only if the author tells you to do so, report it as Skript issue (url below)
  16. [22:29:03] [Server thread/ERROR]: #!#! Issue tracker: https://github.com/bensku/Skript/issues (only if you know what you're doing!)
  17. [22:29:03] [Server thread/ERROR]: #!#!
  18. [22:29:03] [Server thread/ERROR]: #!#! Stack trace:
  19. [22:29:03] [Server thread/ERROR]: #!#! java.lang.NullPointerException
  20. [22:29:03] [Server thread/ERROR]: #!#! at com.gmail.thelimeglass.Factions.Faction.ExprFactionName.get(ExprFactionName.java:45)
  21. [22:29:03] [Server thread/ERROR]: #!#! at com.gmail.thelimeglass.Factions.Faction.ExprFactionName.get(ExprFactionName.java:1)
  22. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:104)
  23. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.effects.EffChange.execute(EffChange.java:268)
  24. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:52)
  25. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
  26. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
  27. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:55)
  28. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:151)
  29. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:109)
  30. [22:29:03] [Server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
  31. [22:29:03] [Server thread/ERROR]: #!#! at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:36)
  32. [22:29:03] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500)
  33. [22:29:03] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485)
  34. [22:29:03] [Server thread/ERROR]: #!#! at com.massivecraft.massivecore.event.EventMassiveCore.run(EventMassiveCore.java:30)
  35. [22:29:03] [Server thread/ERROR]: #!#! at com.massivecraft.factions.cmd.CmdFactionsCreate.perform(CmdFactionsCreate.java:51)
  36. [22:29:03] [Server thread/ERROR]: #!#! at com.massivecraft.massivecore.command.MassiveCommand.execute(MassiveCommand.java:1175)
  37. [22:29:03] [Server thread/ERROR]: #!#! at com.massivecraft.massivecore.command.MassiveCommand.execute(MassiveCommand.java:1131)
  38. [22:29:03] [Server thread/ERROR]: #!#! at com.massivecraft.massivecore.command.MassiveCoreBukkitCommand.execute(MassiveCoreBukkitCommand.java:60)
  39. [22:29:03] [Server thread/ERROR]: #!#! at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
  40. [22:29:03] [Server thread/ERROR]: #!#! at gyurix.commands.CustomCommandMap.dispatch(CustomCommandMap.java:89)
  41. [22:29:03] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648)
  42. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1397)
  43. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1232)
  44. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
  45. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
  46. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13)
  47. [22:29:03] [Server thread/ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  48. [22:29:03] [Server thread/ERROR]: #!#! at java.util.concurrent.FutureTask.run(Unknown Source)
  49. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46)
  50. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748)
  51. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406)
  52. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679)
  53. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577)
  54. [22:29:03] [Server thread/ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
  55. [22:29:03] [Server thread/ERROR]: #!#!
  56. [22:29:03] [Server thread/ERROR]: #!#! Version Information:
  57. [22:29:03] [Server thread/ERROR]: #!#! Skript: 2.2-dev32d (latest)
  58. [22:29:03] [Server thread/ERROR]: #!#! Bukkit: 1.12.2-R0.1-SNAPSHOT
  59. [22:29:03] [Server thread/ERROR]: #!#! Minecraft: 1.12.2
  60. [22:29:03] [Server thread/ERROR]: #!#! Java: 1.8.0_161 (Java HotSpot(TM) 64-Bit Server VM 25.161-b12)
  61. [22:29:03] [Server thread/ERROR]: #!#! OS: Windows 7 amd64 6.1
  62. [22:29:03] [Server thread/ERROR]: #!#!
  63. [22:29:03] [Server thread/ERROR]: #!#! Running CraftBukkit: false
  64. [22:29:03] [Server thread/ERROR]: #!#! Running Spigot (or compatible): true
  65. [22:29:03] [Server thread/ERROR]: #!#! Running Paper (or compatible): false
  66. [22:29:03] [Server thread/ERROR]: #!#!
  67. [22:29:03] [Server thread/ERROR]: #!#! Current node: null
  68. [22:29:03] [Server thread/ERROR]: #!#! Current item: set {fac}(as java.lang.Object) to [the] name of faction %faction%
  69. [22:29:03] [Server thread/ERROR]: #!#! Thread: Server thread
  70. [22:29:03] [Server thread/ERROR]: #!#!
  71. [22:29:03] [Server thread/ERROR]: #!#! Language: english
  72. [22:29:03] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
  73. [22:29:03] [Server thread/ERROR]: #!#!
  74. [22:29:03] [Server thread/ERROR]: #!#! End of Error.
  75. [22:29:03] [Server thread/ERROR]: #!#!


Am I doing something wrong or is this a bug? Thanks in advance.
 
I highly appreciate your efforts making this addon, it's exactly what I'm looking for.
Unfortunately, the event [on] [facsk] faction create: doesn't seem to be working. However, the even [on] [facsk] faction disband: works completely fine. Here's my following code:

on facsk faction create:
set {fac} to the name of faction event-faction
broadcast "%{fac}%"


It compiles fine, but it doesn't return the name of the faction. Instead, I would get this error message in the console
  1. [22:29:03] [Server thread/INFO]: LeloDragneel issued server command: /f create Heroes
  2. [22:29:03] [Server thread/ERROR]: #!#!
  3. [22:29:03] [Server thread/ERROR]: #!#! [Skript] Severe Error:
  4. [22:29:03] [Server thread/ERROR]: #!#!
  5. [22:29:03] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
  6. [22:29:03] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
  7. [22:29:03] [Server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
  8. [22:29:03] [Server thread/ERROR]: #!#! Here is full list of them:
  9. [22:29:03] [Server thread/ERROR]: #!#! PlayerMention Facsk
  10. [22:29:03] [Server thread/ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
  11. [22:29:03] [Server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
  12. [22:29:03] [Server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
  13. [22:29:03] [Server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it.
  14. [22:29:03] [Server thread/ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
  15. [22:29:03] [Server thread/ERROR]: #!#! Only if the author tells you to do so, report it as Skript issue (url below)
  16. [22:29:03] [Server thread/ERROR]: #!#! Issue tracker: https://github.com/bensku/Skript/issues (only if you know what you're doing!)
  17. [22:29:03] [Server thread/ERROR]: #!#!
  18. [22:29:03] [Server thread/ERROR]: #!#! Stack trace:
  19. [22:29:03] [Server thread/ERROR]: #!#! java.lang.NullPointerException
  20. [22:29:03] [Server thread/ERROR]: #!#! at com.gmail.thelimeglass.Factions.Faction.ExprFactionName.get(ExprFactionName.java:45)
  21. [22:29:03] [Server thread/ERROR]: #!#! at com.gmail.thelimeglass.Factions.Faction.ExprFactionName.get(ExprFactionName.java:1)
  22. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:104)
  23. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.effects.EffChange.execute(EffChange.java:268)
  24. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:52)
  25. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
  26. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
  27. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:55)
  28. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:151)
  29. [22:29:03] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:109)
  30. [22:29:03] [Server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
  31. [22:29:03] [Server thread/ERROR]: #!#! at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:36)
  32. [22:29:03] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500)
  33. [22:29:03] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485)
  34. [22:29:03] [Server thread/ERROR]: #!#! at com.massivecraft.massivecore.event.EventMassiveCore.run(EventMassiveCore.java:30)
  35. [22:29:03] [Server thread/ERROR]: #!#! at com.massivecraft.factions.cmd.CmdFactionsCreate.perform(CmdFactionsCreate.java:51)
  36. [22:29:03] [Server thread/ERROR]: #!#! at com.massivecraft.massivecore.command.MassiveCommand.execute(MassiveCommand.java:1175)
  37. [22:29:03] [Server thread/ERROR]: #!#! at com.massivecraft.massivecore.command.MassiveCommand.execute(MassiveCommand.java:1131)
  38. [22:29:03] [Server thread/ERROR]: #!#! at com.massivecraft.massivecore.command.MassiveCoreBukkitCommand.execute(MassiveCoreBukkitCommand.java:60)
  39. [22:29:03] [Server thread/ERROR]: #!#! at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
  40. [22:29:03] [Server thread/ERROR]: #!#! at gyurix.commands.CustomCommandMap.dispatch(CustomCommandMap.java:89)
  41. [22:29:03] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648)
  42. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1397)
  43. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1232)
  44. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
  45. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
  46. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13)
  47. [22:29:03] [Server thread/ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  48. [22:29:03] [Server thread/ERROR]: #!#! at java.util.concurrent.FutureTask.run(Unknown Source)
  49. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46)
  50. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748)
  51. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406)
  52. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679)
  53. [22:29:03] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577)
  54. [22:29:03] [Server thread/ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
  55. [22:29:03] [Server thread/ERROR]: #!#!
  56. [22:29:03] [Server thread/ERROR]: #!#! Version Information:
  57. [22:29:03] [Server thread/ERROR]: #!#! Skript: 2.2-dev32d (latest)
  58. [22:29:03] [Server thread/ERROR]: #!#! Bukkit: 1.12.2-R0.1-SNAPSHOT
  59. [22:29:03] [Server thread/ERROR]: #!#! Minecraft: 1.12.2
  60. [22:29:03] [Server thread/ERROR]: #!#! Java: 1.8.0_161 (Java HotSpot(TM) 64-Bit Server VM 25.161-b12)
  61. [22:29:03] [Server thread/ERROR]: #!#! OS: Windows 7 amd64 6.1
  62. [22:29:03] [Server thread/ERROR]: #!#!
  63. [22:29:03] [Server thread/ERROR]: #!#! Running CraftBukkit: false
  64. [22:29:03] [Server thread/ERROR]: #!#! Running Spigot (or compatible): true
  65. [22:29:03] [Server thread/ERROR]: #!#! Running Paper (or compatible): false
  66. [22:29:03] [Server thread/ERROR]: #!#!
  67. [22:29:03] [Server thread/ERROR]: #!#! Current node: null
  68. [22:29:03] [Server thread/ERROR]: #!#! Current item: set {fac}(as java.lang.Object) to [the] name of faction %faction%
  69. [22:29:03] [Server thread/ERROR]: #!#! Thread: Server thread
  70. [22:29:03] [Server thread/ERROR]: #!#!
  71. [22:29:03] [Server thread/ERROR]: #!#! Language: english
  72. [22:29:03] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
  73. [22:29:03] [Server thread/ERROR]: #!#!
  74. [22:29:03] [Server thread/ERROR]: #!#! End of Error.
  75. [22:29:03] [Server thread/ERROR]: #!#!


Am I doing something wrong or is this a bug? Thanks in advance.
Seems to be working just not the event faction or something. I need to recode this plugin soon.
 
Seems to be working just not the event faction or something. I need to recode this plugin soon.

Hello, Are you still planning to update the plugin? because it is really good and it's a shame not to continue it, by the way would you give me an example on how to use this:
  1. #Info: This is loopable
  2. [(the|all)] [of] [the] players with role %factionrel% (in|of) faction %faction%
  3. faction %faction%'s players with role %factionrel%
Thanks you !

Best regards,
 
Hello, Are you still planning to update the plugin? because it is really good and it's a shame not to continue it, by the way would you give me an example on how to use this:
  1. #Info: This is loopable
  2. [(the|all)] [of] [the] players with role %factionrel% (in|of) faction %faction%
  3. faction %faction%'s players with role %factionrel%
Thanks you !

Best regards,
It's alot to recode and it's on my todo list, got thousand things to do.
 
Ok thank you ! I really hope you will do it when you have some time, because this addon is awesome :emoji_slight_smile:
 
How'd I get the amount of land a faction has? I keep getting errors:
Code:
set {_land} to faction {_factionName}'s land size

Code:
[18:44:50 ERROR]: #!#! [Skript] Severe Error:
[18:44:50 ERROR]: #!#!
[18:44:50 ERROR]: #!#! Something went horribly wrong with Skript.
[18:44:50 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[18:44:50 ERROR]: #!#! Your Minecraft version or server software appears to be unsupported by Skript (bensku's version).
[18:44:50 ERROR]: #!#! Currently only supported servers are Spigot and its forks for Minecraft 1.9 or newer.
[18:44:50 ERROR]: #!#! Other versions might work, but since you're getting this error message something is NOT working,
[18:44:50 ERROR]: #!#! nor it will work, unless you switch to supported platform.
[18:44:50 ERROR]: #!#! Issue tracker: https://github.com/SkriptLang/Skript/issues (only if you know what you're doing!)
[18:44:50 ERROR]: #!#!
[18:44:50 ERROR]: #!#! Stack trace:
[18:44:50 ERROR]: #!#! java.lang.NullPointerException
[18:44:50 ERROR]: #!#!     at com.gmail.thelimeglass.Factions.Faction.ExprFactionLandCount.get(ExprFactionLandCount.java:46)
[18:44:50 ERROR]: #!#!     at com.gmail.thelimeglass.Factions.Faction.ExprFactionLandCount.get(ExprFactionLandCount.java:1)
[18:44:50 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:102)
[18:44:50 ERROR]: #!#!     at ch.njol.skript.effects.EffChange.execute(EffChange.java:268)
[18:44:50 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
[18:44:50 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
[18:44:50 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[18:44:50 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:55)
[18:44:50 ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:285)
[18:44:50 ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:242)
[18:44:50 ERROR]: #!#!     at ch.njol.skript.command.Commands.handleCommand(Commands.java:257)
[18:44:50 ERROR]: #!#!     at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:172)
[18:44:50 ERROR]: #!#!     at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
[18:44:50 ERROR]: #!#!     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[18:44:50 ERROR]: #!#!     at java.lang.reflect.Method.invoke(Unknown Source)
[18:44:50 ERROR]: #!#!     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300)
[18:44:50 ERROR]: #!#!     at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[18:44:50 ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[18:44:50 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501)
[18:44:50 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486)
[18:44:50 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1186)
[18:44:50 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1006)
[18:44:50 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)
[18:44:50 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)
[18:44:50 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
[18:44:50 ERROR]: #!#!     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[18:44:50 ERROR]: #!#!     at java.util.concurrent.FutureTask.run(Unknown Source)
[18:44:50 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
[18:44:50 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:776)
[18:44:50 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378)
[18:44:50 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:715)
[18:44:50 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:618)
[18:44:50 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[18:44:50 ERROR]: #!#!
[18:44:50 ERROR]: #!#! Version Information:
[18:44:50 ERROR]: #!#!   Skript: 2.2-dev36 (custom version)
[18:44:50 ERROR]: #!#!   Bukkit: 1.8.8-R0.2-SNAPSHOT
[18:44:50 ERROR]: #!#!   Minecraft: 1.8.8
[18:44:50 ERROR]: #!#!   Java: 1.8.0_321 (Java HotSpot(TM) 64-Bit Server VM 25.321-b07)
[18:44:50 ERROR]: #!#!   OS: Windows 10 amd64 10.0
[18:44:50 ERROR]: #!#!
[18:44:50 ERROR]: #!#! Server platform: Paper
[18:44:50 ERROR]: #!#!
[18:44:50 ERROR]: #!#! Current node: null
[18:44:50 ERROR]: #!#! Current item: set {_land}(as java.lang.Object) to [the] [amount of] land [(count|size)] [(of|from)] faction %faction% [has] [in [world] %-string%]
[18:44:50 ERROR]: #!#! Current trigger: command /test (simple event) (Online.sk, line -1)
[18:44:50 ERROR]: #!#!
[18:44:50 ERROR]: #!#! Thread: Server thread
[18:44:50 ERROR]: #!#!
[18:44:50 ERROR]: #!#! Language: english
[18:44:50 ERROR]: #!#! Link parse mode: DISABLED
[18:44:50 ERROR]: #!#!
[18:44:50 ERROR]: #!#! End of Error.
 
Last edited: