Mineuniverse
Log in Register
Plugins

ServerEvents

Replace TwitterEvents, DeathNotify
by Brettflan
Download Claim this project
21,244 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Informational

Note: the original plugin and almost all of the work done on it is by croemmich. He doesn't have the time to work it any more, so he's allowed me to maintain it.



ServerEvents prints customizable messages to chat, Twitter, a database, or to a file. See the configuration file below for a better idea of what the plugin does.

http://img205.imageshack.us/img205/7703/servereventstwitter.png



If you appreciate this plugin, you are welcome to https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif.



Installation

  1. Download mysql-connector-java-bin.jar and twitter4j-core.jar and place them in the root server directory.
  2. Download ServerEvents.jar and place it in the plugin directory.
  3. Start the Minecraft server to generate the configuration file.
  4. To enable output to Twitter, run the command /serverevents register (requires permission serverevents.register) and follow the directions it gives. It can be run from server console or in-game. Alternately, if for whatever reason you don't want to use the command, you can use the old method of running "java -jar ServerEvents.jar" from the command line.
  5. Edit server_events.xml to your liking.
  6. Restart the server, or use the command /serverevents reload (requires permission serverevents.reload) to make the plugin re-load any changes you've made to server_events.xml.



Developer API
ServerEvents now has a developer API that allows developers to add, remove, and trigger messages. Currently there is not built in support for custom message types, however you can implement that on your own.

Implementation

Add ServerEvents.jar to your build path. In Eclipse -> Add External Jar

Place the following in your plugin's onEnable().

Plugin serverevents = this.getServer().getPluginManager().getPlugin("ServerEvents");
if (serverevents != null) {
	if (!serverevents.isEnabled()) {
		getServer().getPluginManager().enablePlugin(serverevents);
	}
} else {
	log.info("ServerEvents plugin not installed. Disabling plugin.");
	this.getServer().getPluginManager().disablePlugin(this);
}

Then simply make API calls anywhere in your code.

/* Add/Remove Messages */
ServerEvents.addMessage(Messages.Type.RANDOM, "Hello World!");
ServerEvents.removeMessage(Messages.Type.RANDOM, "Hello World!");
/* Add a message with parameters */
HashMap<String, String> params = new HashMap<String, String>();
params.put("cmd", "/i 1 64");
params.put("full", "true");
ServerEvents.addMessage(Messages.Type.COMMAND, "%n used the command: %cmd", params);
/* Display a message right now. */
ServerEvents.displayMessage("Hello World!");



View Changelog



Source - https://github.com/Brettflan/ServerEvents



For old discussion of this mod, you can head over to the main Bukkit forum:
http://forums.bukkit.org/threads/1796/



Thanks to mrgreaper for the idea and messages!

1.6.0
MC 1.9, 1.10
Release 2016-06-29 Get
1.5.4
MC CB 1.6.2-R0.1, CB 1.5.2-R1.0
Release 2013-06-15 Get
1.5.3
MC CB 1.5.2-R0.1
Release 2013-06-05 Get
1.5.2
MC CB 1.4.7-R1.0, CB 1.5.1-R0.2, CB 1.4.6-R0.3
Release 2013-01-26 Get
1.5.1
MC CB 1.4.5-R1.0, CB 1.4.5-R0.2, CB 1.4.2-R0.2
Release 2012-11-12 Get
1.5.0
MC CB 1.2.5-R1.0, CB 1.2.5-R4.0, CB 1.1-R6
Release 2012-03-02 Get
1.4.4
MC CB 1.1-R4, CB 1.1-R6
Release 2012-02-24 Get
1.4.3
MC CB 1.1-R4
Release 2012-02-20 Get
1.4.2 (JAR only)
MC CB 1.0.1-R1, CB 1.1-R3, CB 1.1-R1
Release 2012-01-10 Get
1.4.2 (ZIP)
MC CB 1.0.1-R1, CB 1.1-R3, CB 1.1-R1
Release 2012-01-10 Get
1.4.1 (JAR only)
MC CB 1.0.1-R1
Release 2011-12-16 Get
1.4.1 (ZIP)
MC CB 1.0.1-R1
Release 2011-12-16 Get
1.4.0 (JAR only)
MC CB 1185, CB 1317, CB 1337
Release 2011-09-27 Get
1.4.0 (ZIP)
MC CB 1185, CB 1317, CB 1337
Release 2011-09-27 Get
1.3.8 (JAR only)
MC CB 1060
Release 2011-09-08 Get
1.3.8 (ZIP)
MC CB 1060
Release 2011-09-08 Get
1.3.7 (JAR only)
MC CB 1000, CB 953, CB 1060
Release 2011-09-02 Get
1.3.7 (ZIP)
MC CB 1000, CB 953, CB 1060
Release 2011-09-02 Get

More from Brettflan

OnlineUsers
15,268
WorldBorder
1,166,663

You Might Also Like

Craftipedia
Craftipedia - View crafting recipes in-game!
97,126
Dynmap-AdminCmd
Show homes/warps from AdminCmd on Dynmap maps
9,912
ClockSign
Create signs that show the time of your world(s), or real-life timezones
9,789
PingNachricht
A easy to use PlayerCounter edit-plugin
9,687
VillageInfo
Displays info about current village
9,596
Askyblock-holostats
Display the top10 players from Askyblock plugin as a hologram
9,538