Skip to content

Instantly share code, notes, and snippets.

/**
* This file is part of Skript.
*
* Skript is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Skript is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
package me.iblitzkriegi.vixio.util.skript;
import ch.njol.skript.localization.Language;
import ch.njol.util.Validate;
import me.iblitzkriegi.vixio.util.ReflectionUtils;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
package me.iblitzkriegi.vixio.util.skript;
import ch.njol.skript.localization.Language;
import ch.njol.util.Validate;
import me.iblitzkriegi.vixio.util.ReflectionUtils;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
public static final BiomeBase a = a("ocean");
public static final BiomeBase b = a;
public static final BiomeBase c = a("plains");
public static final BiomeBase d = a("desert");
public static final BiomeBase e = a("extreme_hills");
public static final BiomeBase f = a("forest");
public static final BiomeBase g = a("taiga");
public static final BiomeBase h = a("swampland");
public static final BiomeBase i = a("river");
```vb
on script load:
import "java.util.UUID"
effect (generate|make) a link code for %players%:
loop expressions 1:
set {_code::*} to split "%new {UUID}()%" at "-"
set {codes::link::%loop-value's uuid%} to {_code::1}
set {codes::link::owners::%{_code::1}%} to loop-value's name
@abandonedaccount6235
abandonedaccount6235 / gist.txt
Created March 22, 2018 18:01
Gist uploaded by Skript bot
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://skripttools.net/api.php?t=addon&amp;action=getlist">here</a>.</p>
</body></html>
@abandonedaccount6235
abandonedaccount6235 / gist.txt
Created March 9, 2018 00:02
Gist uploaded by Skript bot
<br />
<b>Warning</b>: file_get_contents(zip://./storage/addons/skRayFall 1.9.12.jar#plugin.yml): failed to open stream: operation failed in <b>/var/www/html/duetro/skmirror3.2/storage/api.php</b> on line <b>170</b><br />
{
"bytes": "165873",
"size": "161.99KB",
"download": "https://skripttools.net/dl/skRayFall+1.9.12.jar",
"unrecommended": "false",
"unmaintained": "false"
}
package me.iblitzkriegi.vixio.events.base;
import ch.njol.skript.ScriptLoader;
import ch.njol.skript.Skript;
import ch.njol.skript.config.Config;
import ch.njol.skript.lang.Literal;
import ch.njol.skript.lang.SelfRegisteringSkriptEvent;
import ch.njol.skript.lang.SkriptEventInfo;
import ch.njol.skript.lang.SkriptParser;
import ch.njol.skript.lang.Trigger;
package me.iblitzkriegi.vixio.expressions.channel.builder;
import ch.njol.skript.classes.Changer;
import ch.njol.skript.expressions.base.SimplePropertyExpression;
import me.iblitzkriegi.vixio.Vixio;
import me.iblitzkriegi.vixio.util.Util;
import me.iblitzkriegi.vixio.util.wrapper.ChannelBuilder;
import org.bukkit.event.Event;
public class ExprBuilderBitrate extends SimplePropertyExpression<ChannelBuilder, Integer> {
[17:51:06 ERROR]: #!#!
[17:51:06 ERROR]: #!#! [Skript] Severe Error:
[17:51:06 ERROR]: #!#!
[17:51:06 ERROR]: #!#! Something went horribly wrong with Skript.
[17:51:06 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[17:51:06 ERROR]: #!#! Your Minecraft version or server software appears to be unsupported by Skript (bensku's version).
[17:51:06 ERROR]: #!#! Currently only supported servers are Spigot and its forks for Minecraft 1.9 or newer.
[17:51:06 ERROR]: #!#! Other versions might work, but since you're getting this error message something is NOT working,
[17:51:06 ERROR]: #!#! nor it will work, unless you switch to supported platform.
[17:51:06 ERROR]: #!#! Issue tracker: https://github.com/bensku/Skript/issues (only if you know what you're doing!)