Step 1:
Put both file1.yml.b64 and file2.yml.b64 into src/test/resources/org/bukkit/encoding
Step 2:
Put the UTF8Test.java file into src/test/java/org/bukkit/encoding
Step 3:
Step 1:
Put both file1.yml.b64 and file2.yml.b64 into src/test/resources/org/bukkit/encoding
Step 2:
Put the UTF8Test.java file into src/test/java/org/bukkit/encoding
Step 3:
This is a list of known quirks and inconsistencies in Bukkit and CraftBukkit's handling of "vanilla" commands.
The following commands simply do not behave properly on Bukkit. This isn't a matter of not being implemented - these commands have been implemented, but do not work properly.
| @Alias( // specifies an alias command for this command | |
| names = {"aliasCOmmand", "shorter"}, // the alias names, first is the main name | |
| parentPath = {"root","sub", "subsub"} // optional: the command path under which the alias should be registered (default: root) | |
| ) | |
| @Command( // annotates the method as a command and provides all needed information | |
| names = {"mycommand", "myalias"}, // command names, first is the main name | |
| min = 2, // optional: the minimum number of indexed parameters | |
| max = 7, // optional: the maximum number of indexed parameters | |
| permission = true, // optional: whether to check a permission (default: true) | |
| permissionNode = "my.permission.node" // optional: the permission to check, will be generated if not given |
| import static java.util.logging.Level.SEVERE; | |
| import static org.bukkit.ChatColor.translateAlternateColorCodes; | |
| import static org.bukkit.configuration.file.YamlConfiguration.loadConfiguration; | |
| import java.io.File; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.lang.reflect.Array; | |
| import java.util.List; | |
| import java.util.Random; |