ModsJava
getVersion() | API
Java mod listed for Minecraft 1.8–1.13. Downloads from the MC Java Mods app on Android.
⬇ Download on Spigot
getVersion() is a simple api which allows you to check the version of any resource on spigotmc.org using only one line of code.
- You are not allowed to change anything unless i gave permission.
- You are not allowed to reupload or resell this script.
- You are not allowed to take credit for this script.
How to get the version of a resource?
To get the version of a resource, you have to use the following function in your script:
Code (Text):
getVersion(ID Integer)
How to get the ID of a resource?
To get the ID of a resource, you have to copy it from the link.
( https://spigotmc.org/resources/asyncworldedit-premium.9661/ --> 9661)
Examples:
Spoiler: Examples
Code (Text):
command /example:
trigger:
getVersion(1010)
message "%{Version}%"
# Sends the version of the resource with the ID "1010"
trigger:
getVersion(1010)
message "%{Version}%"
# Sends the version of the resource with the ID "1010"
Code (Text):
on load:
getVersion(1010)
if {Version} is not "1.0":
message "Update found!" to console
getVersion(1010)
if {Version} is not "1.0":
message "Update found!" to console
GERMAN TRANSLATION
Spoiler: German / Deutsch
Wie kann ich die Version eines Plugins bekommen?
Um die Version von einem Plugin zu erhalten, musst du folgende Funktion in dein Skript einbauen:
Die letzte erhaltende Version wird in der Variable
{Version} gespeichert und kann somit genutzt werden.
Wie bekomme ich die ID von einem Plugin?
Um die ID eines Plugins zu bekommen, musst die sie aus dem Link kopieren.
( https://spigotmc.org/resources/asyncworldedit-premium.9661/ --> 9661)
Beispiele:
getVersion() ist eine simple API, die es erlaubt, die Version von jedem Plugin auf SpigotMC.org mit einer Zeile Code zu erhalten.
Terms of Use
- Du darfst nichts verändern, es sei denn ich erlaube es.
- Du darfst dieses Skript nicht erneut hochladen oder verkaufen.
- Du darfst dieses Skript nicht als deine Arbeit ausgeben.
Wie kann ich die Version eines Plugins bekommen?
Um die Version von einem Plugin zu erhalten, musst du folgende Funktion in dein Skript einbauen:
Code (Text):
getVersion(ID Integer)
Wie bekomme ich die ID von einem Plugin?
Um die ID eines Plugins zu bekommen, musst die sie aus dem Link kopieren.
( https://spigotmc.org/resources/asyncworldedit-premium.9661/ --> 9661)
Beispiele:
Spoiler: Beispiele
Code (Text):
command /beispiel:
trigger:
getVersion(1010)
message "%{Version}%"
# Sendet die Version des Plugins mit der ID "1010"
trigger:
getVersion(1010)
message "%{Version}%"
# Sendet die Version des Plugins mit der ID "1010"
Code (Text):
on load:
getVersion(1010)
if {Version} is not "1.0":
message "Update gefunden!" to console
getVersion(1010)
if {Version} is not "1.0":
message "Update gefunden!" to console
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
getVersion() | API is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 155 times (via Spigot). Download it and open it directly in the game.