PokemonGO
Deutsch
Funktionsweise
Ein Admin muss das Gebiet markieren (min. 2 Chunks), in dem die Pokemon gesucht werden sollen.
Die Pokemon werden nach dem Setup dann automatisch und zufällig versteckt. (ca. 1 Pokemon pro Chunk).
Die versteckten Pokemon erscheinen dann, wenn sich der Spieler in deren Nähe befindet.
Der Spieler kann diese leichter durch den Tracker finden.
Wenn ein Pokemon gefunden wurde, taucht ein von der Seltenheit des Pokemon abhängiger Mob auf, der mit einem Schneeball (oder einem Pokeball) gefangen werden kann. Wenn das Pokemon gefangen wurde, wird es zum Pokedex des Spielers hinzugefügt.
Falls das Pokemon nicht gefangen wurde, flüchtet es nach 20 Sekunden.
Unterstützt Version 1.7.x bis 1.10.x
BungeeCord or MySQL?
If you make mysql available in the config, the Pokedex can be requested on different servers.
API
Now you can add to your Listener the PokemonCaughtEvent:
@EventHandler public void onPkmnCaught(PokemonCaughtEvent e) { Player player = e.getPlayer(); Pokemon pokemon = e.getPokemon(); }
Besides there is the PGOAPI Class:
In your Main-Class:
@Override public void onEnable() { ... PokemonGO pgo = (PokemonGO) getServer().getPluginManager().getPlugin("PokemonGO"); if (pgo == null) System.out.println("Plugin PokemonGO cannot be loaded."); PGOAPI api = pgo.getAPI(); api.getPokedex(player); api.givePokeballs(player, amount); ... }
Commands & Permissions
/pgo - Shows the Commands
/pgo give - Gives the Player 5 Pokeballs - pokemongo.give
/pgo tracker - Gives the Player the Tracker - pokemongo.tracker
/pgo setup - starts the Setup-Menu - pokemongo.admin
/pgo dex - Shows your PokeDex
Setup
- /pgo setup
- Set the Edgepoints of the Area with a Right- and a Left-Click with the Marker-Item (Cancel the Setup by dropping the Item)
- completed
你是这个资源的作者?登录后可认领此资源。
相似资源
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
使床在所有维度中爆炸的模组
ExyliaPlugins 的库。
通过对话框或铁砧界面帮助你的 Anthme
自定义你的Minecraft头像!
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
评论 0
登录后参与评分
还没有评论,来抢沙发吧