Vixio - The best Discord addon on the Market

Addon Vixio - The best Discord addon on the Market 2.0.7

  • 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!

@Blitz Rip Vixio 2017-2017

code_language.skript:
[19:42:01 ERROR]: #!#!
[19:42:01 ERROR]: #!#! [Skript] Severe Error:
[19:42:01 ERROR]: #!#!
[19:42:01 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[19:42:01 ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
[19:42:01 ERROR]: #!#! and check whether this error has already been reported.
[19:42:01 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
[19:42:01 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[19:42:01 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[19:42:01 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[19:42:01 ERROR]: #!#!
[19:42:01 ERROR]: #!#! Stack trace:
[19:42:01 ERROR]: #!#! java.lang.NullPointerException
[19:42:01 ERROR]: #!#!     at me.iblitzkriegi.vixio.effects.EffSendMessage.execute(EffSendMessage.java:32)
[19:42:01 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
[19:42:01 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
[19:42:01 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[19:42:01 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:55)
[19:42:01 ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:151)
[19:42:01 ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:109)
[19:42:01 ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[19:42:01 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
[19:42:01 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
[19:42:01 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:407)
[19:42:01 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:375)
[19:42:01 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
[19:42:01 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
[19:42:01 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[19:42:01 ERROR]: #!#!
[19:42:01 ERROR]: #!#! Version Information:
[19:42:01 ERROR]: #!#!   Skript: 2.2-dev27
[19:42:01 ERROR]: #!#!   Bukkit: 1.8.8-R0.1-SNAPSHOT
[19:42:01 ERROR]: #!#!   Minecraft: 1.8.8
[19:42:01 ERROR]: #!#!   Java: 1.8.0_131 (Java HotSpot(TM) 64-Bit Server VM 25.131-b11)
[19:42:01 ERROR]: #!#!   OS: Windows 8.1 amd64 6.3
[19:42:01 ERROR]: #!#!
[19:42:01 ERROR]: #!#! Running CraftBukkit: false
[19:42:01 ERROR]: #!#!
[19:42:01 ERROR]: #!#! Current node: null
[19:42:01 ERROR]: #!#! Current item: me.iblitzkriegi.vixio.effects.EffSendMessage
[19:42:01 ERROR]: #!#!
[19:42:01 ERROR]: #!#! Thread: Server thread
[19:42:01 ERROR]: #!#!
[19:42:01 ERROR]: #!#! End of Error.
[19:42:01 ERROR]: #!#!
>
 
@Blitz the most recent update seems to have removed some syntaxes:
code_language.skript:
29.05 14:09:19 [Server] ERROR can't understand this event: 'on track start by player "UnseenMC Bot"' (3-PLUGIN-DISCORD.sk, line 9: on track start by player "UnseenMC Bot":')
29.05 14:09:20 [Server] ERROR Can't understand this condition/effect: play audio arg 1 with player "UnseenMC Bot" (3-PLUGIN-DISCORD.sk, line 27: play audio arg 1 with player "UnseenMC Bot"')
29.05 14:09:20 [Server] ERROR Can't understand this condition/effect: skip current track player "UnseenMC Bot" is playing (3-PLUGIN-DISCORD.sk, line 42: skip current track player "UnseenMC Bot" is playing')
29.05 14:09:20 [Server] ERROR can't understand this event: 'on track end by player "UnseenMC Bot"' (3-PLUGIN-DISCORD.sk, line 46: on track end by player "UnseenMC Bot":')
29.05 14:09:20 [Server] ERROR Can't understand this condition/effect: play audio {_rawr} with player "UnseenMC Bot" (3-PLUGIN-DISCORD.sk, line 73: play audio {_rawr} with player "UnseenMC Bot"')
29.05 14:09:20 [Server] ERROR event-types.user is not a block (3-PLUGIN-DISCORD.sk, line 83: reply with "Hello **%name of event-user%**!%newline% I am the UnseenMC Discord Bot!%newline% Currently I do not deal with PMs so please PM%newline% BrettPlayMC##0292 for questions if you have any!%newline%%newline% Keep dancing,%newline%         UnseenMC Bot"')
29.05 14:09:40 [Server] ERROR A command with the name /nick is already defined in 2-MAIN-CHAT.sk (Nick-SkinChanger.sk, line 40: command /nick [<text>]:')
29.05 14:09:40 [Server] ERROR event-types.user is not a block (bots.sk, line 6: reply with "Hello **%name of event-user%**.%newline% You are currently talking to **UnseenMCs** new API bot.%newline% This bot will handle various technical things%newline% that will involve our Discord.%newline% _Stay Tuned!_"')
29.05 14:09:40 [Server] ERROR can't understand this event: 'on track end by player "API Master"' (bots.sk, line 7: on track end by player "API Master":')
29.05 14:09:40 [Server] ERROR #!#!
29.05 14:09:40 [Server] ERROR #!#! [Skript] Severe Error:
29.05 14:09:40 [Server] ERROR #!#! Could not load bots.sk
29.05 14:09:40 [Server] ERROR #!#!
29.05 14:09:40 [Server] ERROR #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
29.05 14:09:40 [Server] ERROR #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
29.05 14:09:40 [Server] ERROR #!#! and check whether this error has already been reported.
29.05 14:09:40 [Server] ERROR #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
29.05 14:09:40 [Server] ERROR #!#! and describe what you did before it happened and/or what you think caused the error.
29.05 14:09:40 [Server] ERROR #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
29.05 14:09:40 [Server] ERROR #!#! By following this guide fixing the error should be easy and done fast.
29.05 14:09:40 [Server] ERROR #!#!
29.05 14:09:40 [Server] ERROR #!#! Stack trace:
29.05 14:09:40 [Server] ERROR #!#! ch.njol.skript.SkriptAPIException: No class info found for player'
29.05 14:09:40 [Server] ERROR #!#!     at ch.njol.skript.registrations.Classes.getClassInfo(Classes.java:264)
29.05 14:09:40 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.getExprInfo(SkriptParser.java:1390)
29.05 14:09:40 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1111)
29.05 14:09:40 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:221)
29.05 14:09:40 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:176)
29.05 14:09:40 [Server] ERROR #!#!     at ch.njol.skript.lang.Statement.parse(Statement.java:61)
29.05 14:09:40 [Server] ERROR #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:754)
29.05 14:09:40 [Server] ERROR #!#!     at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:56)
29.05 14:09:40 [Server] ERROR #!#!     at ch.njol.skript.lang.Conditional.<init>(Conditional.java:46)
29.05 14:09:40 [Server] ERROR #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:840)
29.05 14:09:40 [Server] ERROR #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:513)
29.05 14:09:40 [Server] ERROR #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:247)
29.05 14:09:40 [Server] ERROR #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:201)
29.05 14:09:40 [Server] ERROR #!#!     at ch.njol.skript.Skript$2.run(Skript.java:406)
29.05 14:09:40 [Server] ERROR #!#!     at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
29.05 14:09:40 [Server] ERROR #!#!     at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
29.05 14:09:40 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723)
29.05 14:09:40 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
29.05 14:09:40 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
29.05 14:09:40 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
29.05 14:09:40 [Server] ERROR #!#!     at java.lang.Thread.run(Thread.java:745)
29.05 14:09:40 [Server] ERROR #!#!
29.05 14:09:40 [Server] ERROR #!#! Version Information:
29.05 14:09:40 [Server] ERROR #!#!   Skript: 2.2-dev25
29.05 14:09:40 [Server] ERROR #!#!   Bukkit: 1.8.8-R0.1-SNAPSHOT
29.05 14:09:40 [Server] ERROR #!#!   Minecraft: 1.8.8
29.05 14:09:40 [Server] ERROR #!#!   Java: 1.8.0_71 (Java HotSpot(TM) 64-Bit Server VM 25.71-b15)
29.05 14:09:40 [Server] ERROR #!#!   OS: Linux amd64 2.6.32-573.22.1.el6.x86_64
29.05 14:09:40 [Server] ERROR #!#!
29.05 14:09:40 [Server] ERROR #!#! Running CraftBukkit: false
29.05 14:09:40 [Server] ERROR #!#!
29.05 14:09:40 [Server] ERROR #!#! Current node: set {talking2bot::%name of event-user%} to true (bots.sk, line 11)
29.05 14:09:40 [Server] ERROR #!#! Current item: null
29.05 14:09:42 [Multicraft] Skipped 38 lines due to rate limit (50/s)
Well i stated multiple times I changed the audio player stuff so check the docs for the new syntaxes...
 
@Blitz Why? :I
code_language.skript:
on guild message receive seen by "testtt":
    if name of event-channel is "test":

code_language.skript:
event-types.channel is not an item stack
Well, as said in the Changelog..... Name of is a Skript syntax, skript has a name of %itemstack% expression so now you have to use "discord name of" for Vixio...
 
@Blitz

code_language.skript:
    discord name of "test":

not working . Can you give me example?
Say you wanted the name of the event-channel in a GuildMessageReceived event, you'd do:
Code:
discord name of event-channel
or, say you wanted the name of a user, you could use
Code:
discord name of event-user
or
Code:
discord name of "ID"
and this "id" could be that of a specific user/role/guild/textchannel/voicechannel you name it I'll get its name for you!
 
  • Like
Reactions: Offline
Audio player finally works :O
However, I've found a little error. I would say around 70% of the time, when you insert a youtube link so the bot can play audio, it returns an error in console.
I mainly use SoundCloud, and that works fine. But the YouTube link error could be an issue for some users.

Console error:
code_language.skript:
30.05 15:47:31 [Server] WARN Exception in thread "lava-daemon-pool-playback-1-thread-1"
30.05 15:47:31 [Server] WARN java.lang.NoSuchMethodError: org.apache.commons.io.IOUtils.readFully(Ljava/nio/channels/ReadableByteChannel;Ljava/nio/ByteBuffer;)V
30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.container.mpeg.MpegAacTrackConsumer.consume(MpegAacTrackConsumer.java:84)
30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.container.mpeg.reader.fragmented.MpegFragmentedFileTrackProvider.provideFrames(MpegFragmentedFileTrackProvider.java:68)
30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.executeProcessingLoop(LocalAudioTrackExecutor.java:248)
30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.container.mpeg.MpegAudioTrack.process(MpegAudioTrack.java:52)
30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:27)
30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.processStatic(YoutubeAudioTrack.java:77)
30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:67)
30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:90)
30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:348)
30.05 15:47:31 [Server] WARN at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
30.05 15:47:31 [Server] WARN at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
30.05 15:47:31 [Server] WARN at java.lang.Thread.run(Thread.java:745)
If that error does not show, it's this:
code_language.skript:
30.05 15:49:49 [Server] WARN [Skript] Noting found by that Audio link.

The code I used:
code_language.skript:
on guild message receive seen by "Famalam":
    set {_args::*} to event-string split at " "
    set {_command} to {_args::1}
    remove {_args::1} from {_args::*}
    if {_command} starts with ".play":
        if {_args::2} is set:
            set {_Famalam} to event-string
            set {playing} to {_args::2}
            replace all ".play " with "" in {_Famalam}
            play audio {_Famalam} with player "Famalam" in guild "ID"
 
Hello,
There is a problem if you disconnect the bot and reconnect it, the token is no longer valid :/
There is also a problem with the logout the name of the bot remains in memory
 
Hey, I have a bit of a problem... Certain expressions break if you have more than one bot on more than one different server.
It's taken forever for me to figure out what the problem was, but it works like this:
server A has bot X in it. This bot is loaded before bot Y, and is largely more important than bot Y (which is why I didn't bother looking too deep into this before).
server B has bot Y in it. Neither bot is in the same server as one another.

Presumably because bot X loads & is parsed before bot Y, bot X takes priority in many expressions- even if you specify which guild to check data from, (i.e. nickname of event-user in event-guild), the expression still checks that using the permissions of bot X, even if the event it's called from is explicitly from bot Y (on guild message received by "bot Y").

I haven't looked into every expression that is affected by this issue, but event-user seems to be a really crucial one that's affected. Stuff like event-guild and event-channel are fine, though.

tl;dr, people that aren't also in server A where bot X resides return null (<none>) when bot Y in server B tries to set a variable to event-user or something.
[doublepost=1506162529,1502857699][/doublepost]Latest discord update totally broke this addon as far as I can tell. (also broke discordSRV but that plugin updated quickly.)

uuhhhhh..... anyone there? :emoji_thinking:
 
Hey, I have a bit of a problem... Certain expressions break if you have more than one bot on more than one different server.
It's taken forever for me to figure out what the problem was, but it works like this:
server A has bot X in it. This bot is loaded before bot Y, and is largely more important than bot Y (which is why I didn't bother looking too deep into this before).
server B has bot Y in it. Neither bot is in the same server as one another.

Presumably because bot X loads & is parsed before bot Y, bot X takes priority in many expressions- even if you specify which guild to check data from, (i.e. nickname of event-user in event-guild), the expression still checks that using the permissions of bot X, even if the event it's called from is explicitly from bot Y (on guild message received by "bot Y").

I haven't looked into every expression that is affected by this issue, but event-user seems to be a really crucial one that's affected. Stuff like event-guild and event-channel are fine, though.

tl;dr, people that aren't also in server A where bot X resides return null (<none>) when bot Y in server B tries to set a variable to event-user or something.
[doublepost=1506162529,1502857699][/doublepost]Latest discord update totally broke this addon as far as I can tell. (also broke discordSRV but that plugin updated quickly.)

uuhhhhh..... anyone there? :emoji_thinking:
https://github.com/iBlitzkriegi/Vixio/releases/tag/v1.1.5 I released a fixed version the day after the discord breaking change update.
[doublepost=1506190222][/doublepost]
https://github.com/iBlitzkriegi/Vixio/releases/tag/v1.1.5 I released a fixed version the day after the discord breaking change update.
Also I am aware of the issue you reported and it will be fixed in the rewrite that is happening for Vixio currently
 
Hello @Blitz !

I have a problem with the audio player, when I try to play a youtube video with the audio player, it don't work.
And I don't need to put a link in the command because that's an unique link already point out in the code.

I get this console error each time: [Skript] Could not find anything with that ID.

Code:

code_language.skript:
on guild message receive seen by "AdminBot":
    set {_msg} to event-string
    set {_channel} to event-channel
    set {_voice} to voice channel of event-user
    set {_tag} to discord mention tag of event-user
    if {_msg} is "!testputain":
        join voice channel {_voice} with "AdminBot"
        play audio "ID" with audio player "AdminBot" in guild "341698408504885258"

I also tried to do:

code_language.skript:
on guild message receive seen by "AdminBot":
    set {_msg} to event-string
    set {_channel} to event-channel
    set {_voice} to voice channel of event-user
    set {_tag} to discord mention tag of event-user
    if {_msg} is "!testputain":
        join voice channel {_voice} with "AdminBot"
        play audio "https://www.youtube.com/watch?v=ID" with audio player "AdminBot" in guild "341698408504885258"

But nothing is working... :x
 
Last edited: