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
/* | |
* Missing properties: | |
* - world | |
* - getDirection | |
* - zero | |
* - equals | |
* - hashcode | |
* - clone | |
* - to<Type> (similar to the Location.toVector()) | |
* - toString() |
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
public static int sumInt(List<Integer> intList) { | |
int sum = 0; | |
for (int i : intList) { | |
sum += i; | |
} | |
return sum; | |
} | |
public static double sumDouble(List<Double> doubleList) { | |
double sum = 0; |
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
# All paths in this configuration file are relative to Dynmap's data-folder: minecraft_server/plugins/dynmap/ | |
# NOTE: this is a sample of the standard configuration.txt, with HDMap renders substituted | |
components: | |
- class: org.dynmap.ClientConfigurationComponent | |
- class: org.dynmap.InternalClientUpdateComponent | |
sendhealth: true | |
sendposition: true | |
allowwebchat: true |
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
#Create new messages here. See the readme file for help. | |
messages: | |
login: | |
lg: | |
receivers: | |
groups: [pri] | |
users: [] | |
triggers: | |
groups: [pri] | |
users: [] |
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
groups: | |
Default: | |
default: true | |
info: | |
prefix: '&0' | |
suffix: '' | |
build: true | |
interact: true | |
warp: | |
limit: |
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
import org.bukkit.block.Block; | |
import org.bukkit.entity.Player; | |
import org.bukkit.event.Event; | |
import org.bukkit.event.Event.Priority; | |
import org.bukkit.event.player.PlayerInteractEvent; | |
import org.bukkit.event.player.PlayerListener; | |
import org.bukkit.plugin.java.JavaPlugin; | |
public class Plugin extends JavaPlugin { | |
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
/** | |
* Returns if the location is save. | |
* @return if the location is save. Is false if invalid. | |
*/ | |
public boolean isSave() { | |
//TODO: Check if the player can fall through: Check below if there is a torch (not on ground), wall sign | |
if (this.location.isValid()) { | |
Location location = this.getLocation().toLocation(); | |
Material lower = location.getBlock().getType(); |
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
groups: | |
Default: | |
default: true | |
permissions: | |
- essentials.compass | |
- essentials.list | |
- essentials.rules | |
- essentials.spawn | |
- xwarp.warp.to.global | |
- xwarp.warp.to.invited |
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
# All paths in this configuration file are relative to Dynmap's data-folder: minecraft_server/plugins/dynmap/ | |
# All map templates are defined in the templates directory | |
# By default, the 'classic' FlatMap and KzedMap templates are used, which can be found in normal.txt, nether.txt, and skylands.txt | |
# | |
# To use the HDMap low-res map templates as world defaults (normal-lowres, nether-lowres and skylands-lowres), uncomment the following line | |
# The definitions of these templates are in normal-lowres.txt, nether-lowres.txt, and skylands-lowres.txt | |
#deftemplatesuffix: lowres | |
# To use the HDMap hi-res map templates (these can take a VERY long time for initial fullrender), comment the following line | |
# The definitions of these templates are in normal-hires.txt, nether-hires.txt, and skylands-hires.txt |
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
groups: | |
Prisoner: | |
default: false | |
permissions: [] | |
inheritance: [] | |
info: | |
prefix: "" | |
build: false | |
suffix: "" | |
Default: |
OlderNewer