update to v2.3.0
This commit is contained in:
@@ -67,8 +67,11 @@ blacklist_worlds:
|
||||
- 'world'
|
||||
- 'world_nether'
|
||||
|
||||
#生成原因包含在这里的末影龙不被插件监听
|
||||
#举例: COMMAND,CUSTOM,DEFAULT
|
||||
#由以下原因生成的末影龙不被插件监听
|
||||
#常用选项:COMMAND(原版summon指令生成),CUSTOM(别的插件生成的),DEFAULT(自然生成,包括玩家放置水晶复活的)
|
||||
#你可以在这里找到所有生成原因:
|
||||
#https://bukkit.windit.net/javadoc/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html
|
||||
#写法示例: [COMMAND,CUSTOM]
|
||||
blacklist_spawn_reason: []
|
||||
|
||||
#可选: [default/nbt/advanced]
|
||||
|
||||
@@ -66,8 +66,11 @@ blacklist_worlds:
|
||||
- 'world'
|
||||
- 'world_nether'
|
||||
|
||||
#ender_dragon with these spawn reason will be ignored by this plugin.
|
||||
#example: COMMAND,CUSTOM,DEFAULT
|
||||
# Ender_dragon spawns with these reasons will be ignored by this plugin.
|
||||
# common options: COMMAND(spawn with /summon), CUSTOM(generate by other plugins), DEFAULT(by nature, including end_crystal)
|
||||
# You can find all spawn reasons here:
|
||||
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html
|
||||
# example: [COMMAND,CUSTOM]
|
||||
blacklist_spawn_reason: []
|
||||
|
||||
#optional: [default/nbt/advanced]
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
package expansion.groovy
|
||||
|
||||
import groovy.transform.Field
|
||||
import org.bukkit.Bukkit
|
||||
import pers.xanadu.enderdragon.config.Lang
|
||||
|
||||
import static pers.xanadu.enderdragon.EnderDragon.plugin
|
||||
|
||||
@Field static def x=5
|
||||
|
||||
static void enable(){
|
||||
// Lang.info("I am a test script written in groovy.")
|
||||
}
|
||||
//Bukkit.getLogger().info("static variable test: x="+x)
|
||||
|
||||
|
||||
static void test(){
|
||||
Bukkit.broadcastMessage("you runs test()")
|
||||
}
|
||||
|
||||
|
||||
@@ -17,3 +17,6 @@ static void test(){
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user