TimeSpawner
What is it?
Always wanted to spawn a number sure mobs at a time/place determined by you. Then this plugin is for you This plugin will spawn MOB's on determined time and amount defined by you.
Example: If you want to spawn 15 zombies on a determined location each 60 seconds. Don't forget, plugin will just start the time count after all previously mobs are dead.
Features
- Set spawn of mobtype with time and amount
- Set area spawn of mobtype with time and amount ( spawn randomly )
- File save editable ( yml )
- Don't spawn nothing if player is not near
- Mobs die if player not near
- Prevent lost of track ( how many mobs already spawn ) by restart/shutdown
- Auto-pull or manual mob pull back if get to far away
- Settings define by mob or global
Planned
- Add economy for players to buy spawners
- Add language file
- Add disable/enable spawner
- Add over then 1 mobtype per spawn
- Add command to force spawn
- Add command to disable/enable spawn
- Add timer for player get xp from spawners
- Add Monster drop xp
- Add Custom config to each mob
- Add spawn the mobs around a configurable range from online players
Randomly Area Spawn
- Use command "/sp wand" with your hands free and you will receive special stick
- Left Click on First Block
- Right Click on Second Block
- Use command "/sp setspawn <spawnerName> <typeMob> <quantity> <time>"
Done ! Now the mobs will spawn at this area
Timer Sign
Only allow 1 sign for each spawner - Set Sign with :
Line 1 : [TimeSpawner]
Line 2: <spawner_name>
The quantity and mobtype will show on line 3 and the timer will show on Line 4
Permissions
- tsp.admin ( All permission )
- tsp.setspawn ( For spawn )
- tsp.delspawn ( For delspawn )
- tsp.spawners ( For spawners )
- tsp.reload ( For reload )
- tsp.wand ( For wand )
- tsp.sign ( For Sign )
- tsp.tp ( For Teleport )
- tsp.reloc ( For re-location )
- tsp.reset ( For reset )
Commands
/sp <wand|w> - give you stick to set area spawn
/sp <setspawn|ss> <spawnerName> <typeMob> <quantity> <time> - set a spawner
/sp spawnconf <spawnerName> <typeMob> <quantity> <time> - configure an already created
/sp <delspawn|ds> <spawnerName> - delete an already created spawner
/sp <spawners|sp> <nothing or spawnName> - view the list of spawners created
/sp <reloc|rl> <nothing or spawnName> - re-location the mobs to your(s) spawner(s)
/sp <reset|rs> <nothing or spawnName> - reset the spawners ( kill all mobs and reset timer )
/sp tp <spawnName> - teleport to spawn
/sp update - update plugin
/sp reload - reload plugin
/sp < help | ? | nothing > - get help on commands
- Obs: Don't use any symbols on spawner name !
Requirement
- Java 1.7
- Vault
Setup
This plugin is installed much like every other plugin. Put the TimeSpawner.jar file in your /plugins/ folder and restart the server. The config files automagically appear in the /plugins/TimeSpawner/ folder.
Video tutorial
One video from video tutorial. LINK: http://www.youtube.com/watch?v=-OQwoFh4o7c
Dev-Builds
- Same as release
Lag warning
Spawning too many mobs may lag your server the quantity depends on your server performance.
@nathampa0909
desculpe... não entendi direito o q vc falou e quanto ao cancelAllTask é somente quando o command RESET é acionado e para tal finalidade de resetar tudo todas as task tb são resetadas
Eu descobri o que faz cancelar tudo, depois de um tempo mexendo com plugins peguei um pouco de experiência:
plugin.getServer().getScheduler().cancelAllTasks();
Está na classe SpawnerCommand.java
Tente colocar:
plugin.getServer().getScheduler().cancelTasks(this);
Não esotu no meu computador agora mas tente o que citei acima, se não der certo tente:
plugin.getServer().getScheduler().cancelAllTasks(this);
I love your plugin! :D
Can you add the nickname feature for the mob ?
Thx you in advance :)
@stutiguias
Eu comecei fazer plugins tem pouco tempo, nem sei java direito, ainda estou aprendendo. Se eu pudesse ajudar eu ajudaria. Desculpa ae! D=
Pls add support for mods/mcpc !!!.
I need this for epic boss kraken :D !!
@nathampa0909
eu uso o TimeSpawner no meu servidor e tb junto com clearlag , tanto no meu servidor de desenvolvimento e no servidor de produção e nunca aconteceu nada, não tem nenhum motivo para tenha acontecido... você desenvolve plugin pode ver o código esta aberto para quem quiser ajudar :) ... não tem maiores detalhes ?
Your plugin bug the ClearLag, my plugin JairoTime and the MineResetLite. All that time count.
@Edit: Não sabia que você era brasileiro, mas o seu plugin bugou o ClearLag, o MineResetLite e o meu JairoTime. Todos esses contam (1 minuto, 20 minutos). Eles funcionam normalmente mas não faz o que foi determinado naquele tempo. Se tiver skype add: losgamers
@Celeress
you right... i will work on that ( disable/enable custom name ) asap
I'm getting errors in my console everytime I damage a mob spawned from TimeSpawner. I have a plugin on my server that makes mobs spawn with a level and their health in there name. Mobs spawned from TimeSpawner have their own custom name that is being used instead of the level/health name and I guess its interfering with some other plugins. Is there a way I could disable TimeSpawners custom names? I tried leaving it blank in the config but that just spawned them with "zombie" or "skeleton"
This is the error that comes up every time a mob spawned from TimeSpawner takes damage: http://hastebin.com/topururico.avrasm
Mobs spawned with something like essentials /spawnmob don't get this error when they are damaged which is why I'm guessing its because of the name.
@Celeress
seconds
Option to change mobs name per world or disable the custom name to let a different plugin set it? And when you set the time of a spawner, is it in seconds?
@jp1997
:) vou colocar como a "a fazer.."
@stutiguias
Eu ja entendi a funcionalidade da placa, so estava dando uma sugestao...
@jp1997
a placa é apenas para informar... não para conter funcionalidades
@stutiguias
Entendi... Tu podia colocar a opção de clicar na placa e spawnar um mob específico.
@Celeress
YOU NEED VAULT - pls read the page
@jp1997
coloque uma placa com linha 1 "[TimeSpawner]" e linha 2 o nome do spawner em algum lugar ! representa o contador de tempo até se spawnar o mob
Não entendi muito bem como funciona o Timer Sign...
I get this when I try to start the plugin on my server for the first time: http://hastebin.com/pehugemufe.avrasm
@Hangjai
???? pode explicar melhor
@ismaelzero
i will work on this for next release
i need this Add custom Monster drop custom xp very much keep going pls