Mozart Posted May 14, 2021 Share Posted May 14, 2021 https://www.spigotmc.org/resources/eazynick-autonicksystem-api-src-bungeecord-multiworld-1-7-10-1-16-x.51398/ This is my Nick-System, I hope you enjoy it!Downloads: 25 Downloads | ✔︎ | 50 Downloads | ✔︎ | 100 Downloads | ✔︎ | 150 Downloads | ✔︎ | 200 Downloads | ✔︎ | 250 Downloads | ✔︎ | 500 Downloads | ✔︎ | 1.000 Downloads | ✔︎ | 2.500 Downloads | ✔︎ | 5.000 Downloads | ✔︎ | 10.000 Downloads | ✔︎ | 25.000 Downloads | ✔︎ | 50.000 Downloads | ✔︎ | 100.000 Downloads | ✘ | ━━━━━━━━━━━━━━━━━━━━━━━━━━Recommended ━━━━━━━━━━━━━━━━━━━━━━━━━━Join my discord server:Click hereNeed help | Du brauchst HilfeSkype: live:justix.devDiscord: Justix#7918 SpigotMC: Start conversation Live-Support: Join chatPLEASE DO NOT WRITE BUGS OR ERRORS IN THE REVIEWS!!! ━━━━━━━━━━━━━━━━━━━━━━━━━━NO MYSQL-CONNECTION REQUIRED IF YOU ARE NOT USING BUNGEE-MODEA MINECRAFT SERVER WITH SPIGOT (NOT CRAFTBUKKIT) NEEDED! ALSO JAVA 8 OR LATER IS REQUIRED! The API: Code (Java): //General API NickManager api = new NickManager(player); api.nickPlayer("NickName"); api.nickPlayer("NickName", "SkinName"); api.unnickPlayer(); api.unnickPlayerWithoutRemovingMySQL(); api.updatePrefixSuffix("NickName", "RealName", "TagPrefix", "TagSuffix", "TabPrefix", "TabSuffix", "ChatPrefix", "ChatSuffix", Sort-ID (int), "GroupName"); api.setName("NickName"); api.changeSkin("SkinName"); api.updatePlayer(); api.getRealName(); api.setChatPrefix("Prefix"); api.setChatSuffix("Suffix"); api.setTabPrefix("Prefix"); api.setTabSuffix("Suffix"); api.setTagPrefix("Prefix"); api.setTagSuffix("Suffix");//Events @EventHandlerpublic void onNick(PlayerNickEvent event) { Player p = e.getPlayer(); String nickName = event.getNickName(); String skinName = event.getSkinName(); String chatPrefix = event.getChatPrefix(); String chatSuffix = event.getChatSuffix(); String tabPrefix = event.getTabPrefix(); String tabSuffix = event.getTabSuffix(); String tagPrefix = event.getTagPrefix(); String tagSuffix = event.getTagSuffix(); String isJoinNick = event.isJoinNick(); event.setCancelled(false); event.setNickName(nickName); event.setSkinName(skinName); event.setChatPrefix(chatPrefix); event.setChatSuffix(chatSuffix); event.setTabPrefix(tabPrefix); event.setTabSuffix(tabSuffix); event.setTagPrefix(tagPrefix); event.setTagSuffix(tagSuffix);} @EventHandlerpublic void onUnnick(PlayerUnnickEvent event) { Player p = e.getPlayer(); event.setCancelled(false);} Just for BungeeCord:Set the "bungeecord" setting in your spigot.yml to true and set the "ip_forwarding" setting in yourBungeeCord config.yml to true as well. If you don't do this, Skins wont load. ________________________________________________VIDEOS: Spoiler: Videos Pictures: Spoiler: Pictures Placeholders (PlaceholderAPI): %eazynick_custom% | Returns the value configured in the setup.yml %eazynick_custom_global% | Returns the value configured in the setup.yml %eazynick_is_nicked% | Returns true or false %eazynick_display_name% | Returns the players name or nickname %eazynick_global_name% | Returns the players name, nickname or mysql nickname %eazynick_chat_prefix% | Returns the chat prefix %eazynick_chat_suffix% | Returns the chat suffix %eazynick_tab_prefix% | Returns the tab prefix %eazynick_tab_suffix% | Returns the tab suffix %eazynick_tag_prefix% | Returns the tag prefix %eazynick_tag_suffix% | Returns the tag suffix %eazynick_real_name% | Returns the real name %eazynick_rank% | Returns the current rank which the player is nicked asPlaceholders for the chat format in the setup.yml: %playerName% | %displayName% | %prefix% | %suffix% | %nickName% | %message% DEUTSCH Spoiler: GERMAN | DEUTSCH ENGLISH Spoiler: ENGLISH | ENGLISCH Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now