publicvoidinitWorld(WorldInitEventevent){ if(!plugin.getMVWorldManager().isKeepingSpawnInMemory(event.getWorld())){ event.getWorld().setKeepSpawnInMemory(false); } } }
plugin.getServer().getPluginManager().registerEvents(this, plugin);// spawn everyonedoublespawnCenterX = plugin.getConfig().getDouble("battles.spawn.center-x");doublespawnCenterZ = plugin.getConfig().getDouble("battles.spawn.center-x");doublespawnRadius = plugin.getConfig().getDouble("battles....
Game game =this.plugin.getGames().getCurrentGame();if(game !=null) { pl.themolka.arcade.respawn.PlayerRespawnEvent respawnEvent =newpl.themolka.arcade.respawn.PlayerRespawnEvent(this.plugin, player); respawnEvent.setRespawnPosition(game.getMap().getSpawn());this.postEvent(respawnEvent...
The slurm launcher will then appen the option --singularity-container with the value specified in this field to the sbatch command that will spawn the session. Thanks to setting up good defaults in the SPANK plugin (--singularity-container-path|path, --singularity-bind|bind) the user only ...
void ACogSamplePlayerController::BeginPlay() { Super::BeginPlay(); #if ENABLE_COG // Spawn the Replicator of each plugin ACogDebugReplicator::Spawn(this); ACogAbilityReplicator::Spawn(this); ACogEngineReplicator::Spawn(this); #endif //ENABLE_COG } Implement Cog Interfaces on your desired actor...
►PFS_plugin_table_index ►PFS_prepared_stmt ►PFS_prepared_stmt_stat ►PFS_program ►PFS_program_key ►PFS_readonly_acl ►PFS_readonly_processlist_acl ►PFS_readonly_world_acl ►PFS_ringbuffer_index ►PFS_role_name ►PFS_role_name_view ►PFS_routine_name ►PFS_routine...
public void createTimedHologram(final Location location, String text, Long timeout) { ArmorStand as = (ArmorStand) location.add(0.5, 1, 0.5).getWorld().spawnEntity(location, EntityType.ARMOR_STAND); //Spawn the ArmorStand as.setVisible(false); //Makes the ArmorStand invisible as.setGravity...
plugin.setTardisSpawn(true); Ageabletwin=(Ageable)l.getWorld().spawnEntity(l,ent.getType()); twin.setBaby(); } }); } } 代码示例来源:origin: libraryaddict/LibsDisguises ((Ageable)bukkitEntity).setBaby(); 代码示例来源:origin: elBukkit/MagicPlugin ...
origin: BentoBoxWorld/BentoBox Clipboard.setEntity(...) ((Tameable)e).setTamed(ent.getBoolean("tamed")); origin: elBukkit/MagicPlugin SpawnEntityAction.spawn(...) tameable.setTamed(true); Player owner = context.getMage().getPlayer(); if (owner != null) { origin: elBukkit/MagicPlu...
Learn Linux/Unix in-depth with real-world projects through our Linux/Unix certification course. Enroll and become a certified expert to boost your career. DESCRIPTIONTiffset sets the value of a TIFF header to a specified value. OPTIONSTag