NetEvents is the next generation in inter-server interaction. It provides a simple interface for plugins to pass events over an entire network of servers while hiding the complexities of networking. While other plugins focus on making the multiserver experience seamless for players, NetEvents makes the multiserver experience seamless for plugins.
Server admins
You're most likely here because a plugin you're using can be improved with NetEvents. If not, remember that NetEvents is designed to help other plugins, not work on its own.
NetEvents can be configured to match pretty much any server network. Some examples are shown here
Plugin developers
NetEvents provides all the facilities needed to make inter-server events easy. See the wiki page for basic API information. NetEvents is available in Maven and licensed under Apache 2.0 -- see the previously linked page for info.
Commands
/netevents [reload|tryconnect|ping|debug]
Permission:netevents.status
No arguments: prints status report
reload: Reloads config and reconnects to servers
tryconnect: Retries connecting to any servers that could not be accessed
ping: Send a ping event to all connected servers (Prints message to server log)
debug: Toggle debug logging
Plugins using NetEvents
- PermissionsEx as of v1.21
- 10 comments
- 10 comments
Facts
- Date created
- Jan 24, 2014
- Categories
- Last update
- Mar 30, 2014
- Development stage
- Release
- License
- Apache License version 2.0
- Curse link
- NetEvents
- Reverse relationships
- 1
- Downloads
- 1,845
- Recent file
- R: NetEvents v1.0 for CB 1.7.2-R0.3 Mar 30, 2014
- Reply
- #10
fr233 Jun 19, 2015 at 07:47 UTC - 0 likeshow to use it?please tell me
- Reply
- #9
DaddyEric2 Nov 06, 2014 at 01:29 UTC - 0 likesI am pretty certain that this is going to be configured like this.
# The address to listen on
listen-at: 0.0.0.0:25566 < Use different Port for each server or diff IP's for each server
# A list of servers that events will be passed on to.
forward-to:
# - mc.daddyeric.com:2566 #Lobby server NOTE how this is commented out for the matching port up top
- mc.daddyeric.com:2567 #main server
- mc.daddyaric.com:2568 #kitpvp server
# Passphrase to use for encryption
passphrase: changeme < must be changed and match each server that you have netevents on
Tips: if you are using bungee and i would hope that you are! use different IP's for each server if necessary if you are running cross hosting server IP then change the IP addresses as necessary in the forward to
- Reply
- #8
BeastMC Aug 11, 2014 at 09:00 UTC - 2 likesShit's broke, yo.
- Reply
- #7
ColonelJdog Jul 06, 2014 at 04:12 UTC - 0 likesDoes anyone have a working example config(s) I could base mine off of?
Also, is the address to listen-at your proxy server IP? Or is it the IP of the Bukkit server the plugin is currently on?
And, are the ports the same ones used to connect to the servers (25565), or our rcon ports (25575 for me)?
Owner, Ioncraft: Minecraft Server
IP: play.ioncraft.org
- Reply
- #6
Absentee23 Jul 02, 2014 at 11:29 UTC - 1 likeThis plugin is such a pain to setup, or just isn't working. I can't tell which. I've tried both the connection schemes listed on examples. I can successfully get two servers connected, but woah, throw a third in there and it just can't handle it. The only difference is the port number. They are "already connected" despite /netevents showing they aren't... All three are running on the same machine, could that have something to do with it?
And when I get those two connected and pinging eachother, a /netevents reload breaks it, saying they are already connected! Then I need to restart...
Seems so unreliable and I'll be uninstalling it for now. Please document your plugins a bit better, though it SEEMS straightfoward, so either that or fix it. Tried current latest on bukkitdev, and the latest on jenkins.
- Reply
- #5
DJmodric55 Jun 27, 2014 at 14:31 UTC - 0 likesHow Do Enable Netevents I need It For PermissionsEx ? Please help!
- Reply
- #4
cheracc Jun 24, 2014 at 01:01 UTC - 0 likesI cannot make this work for the life of me. Could someone help me out? For simplicity's sake, lets say I have these servers:
I cannot set the "listen-at" to the same port as the server, or I get a "port is already in use" error. This leads me to believe each server needs its own unique port. So I did
I'm going for the "master-slave" layout from the wiki page. So I set:
All of my servers, when starting up, throw a bunch of
And none of the servers show as connected when I do "netevents" in console
Obviously I am doing something wrong, but I can't figure it out. Please help?
- Reply
- #3
FabiUnne May 25, 2014 at 01:25 UTC - 0 likesWhen restarting or reloading NetEvents tells me:
How do I remove this message? And can I monitor what the server send each other somehow?
German Bukkit Server: Dirts4Free.de
- Reply
- #2
TheOneTrueBob May 24, 2014 at 01:07 UTC - 0 likesAfter doing some testing, I would get connection errors using ports other than the actual server ports.
I'm not a Bob-wanna-be. I am the one true Bob. There were no other Bob's before me.
- Reply
- #1
Melonking Apr 25, 2014 at 01:03 UTC - 0 likesDefiantly looks useful, I find the setup explanation for this a little confusing, are the ports supposed to be the same as the servers port? Or does this require a separate port to itself?