Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2176e00
commit b6a9ef6
Showing
5 changed files
with
3 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 2 additions & 30 deletions
32
...c/main/java/com/denizenscript/denizen/scripts/containers/core/VersionScriptContainer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,13 @@ | ||
package com.denizenscript.denizen.scripts.containers.core; | ||
|
||
import com.denizenscript.denizencore.scripts.containers.ScriptContainer; | ||
import com.denizenscript.denizencore.utilities.Deprecations; | ||
import com.denizenscript.denizencore.utilities.YamlConfiguration; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public class VersionScriptContainer extends ScriptContainer { | ||
|
||
// <--[language] | ||
// @name Version Script Containers | ||
// @group Script Container System | ||
// @description | ||
// Version script containers are used to identify a public script's version, author, and etc. basic information. | ||
// | ||
// These are primarily for use with the public script repository, and as such generally contain | ||
// an 'ID:' key identifying the script repo ID of the script. | ||
// | ||
// <code> | ||
// Version_Script_Name: | ||
// | ||
// type: version | ||
// | ||
// # This is sample information, for script repository script number zero, 'dSentry'. | ||
// id: 0 | ||
// version: 0.7.3 | ||
// name: dSentry | ||
// author: mcmonkey | ||
// | ||
// </code> | ||
// | ||
// --> | ||
|
||
public static List<VersionScriptContainer> scripts = new ArrayList<>(); | ||
|
||
public VersionScriptContainer(YamlConfiguration configurationSection, String scriptContainerName) { | ||
super(configurationSection, scriptContainerName); | ||
scripts.add(this); | ||
Deprecations.versionScripts.warn(this); | ||
} | ||
} |
65 changes: 0 additions & 65 deletions
65
plugin/src/main/java/com/denizenscript/denizen/utilities/ScriptVersionChecker.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters