08-07-2014, 05:03 PM 
		
	
	
		If you're going to port SexyMOTD than you need to port ProtocolLib to. Maybe you can implement it?
	
	
	
	
	
| 
				
				 
					SexyMOTD Request
				 
			 | 
		
| 
	 
		
		
		08-07-2014, 05:03 PM 
		
	 
	
		If you're going to port SexyMOTD than you need to port ProtocolLib to. Maybe you can implement it?
	 
	
	
	
	
		
		
		08-07-2014, 06:58 PM 
		
	 
	
	
	
	
	
Thanks given by: Stino
		 
		
		
		08-07-2014, 07:10 PM 
		
	 
	
		Oke succes with making it. I will give you developer right on my server when it' s ready as thanks. 
	
	
	
	
 
	
		Is this good enough? 
	
	
	
	
-- HOOK_SERVER_PING function OnServerPing(PlayerName, Motd, CurrentPlayers, MaxPlayers, Favicon, OnlinePlayersList) -- Modify max players MaxPlayers = 0 return false, PlayerName, Motd, CurrentPlayers, MaxPlayers, Favicon, OnlinePlayersList end 
		
		
		08-08-2014, 03:24 PM 
		
	 
	
		What's the datatype for Favicon and OnlinePlayersList? And don't call it Motd, it's ServerDescription; MOTD is the message sent to the player the first thing they connect.
	 
	
	
	
	
		
		
		08-08-2014, 08:43 PM 
		
	 
	
	
	
	
	
		
		
		08-08-2014, 10:10 PM 
		
	 
	
		I'm more interested in the Lua datatypes. There's no StringList type in Lua. Will it be a regular array-table containing strings? What if the plugin returns a table containing other stuff than strings? What if it returns an empty string? Or a number?
	 
	
	
	
	
		
		
		08-21-2014, 12:15 AM 
		
	 
	
		I added the hook: https://github.com/mc-server/MCServer/pull/1339
	 
	
	
	
	
		
		
		08-21-2014, 12:25 AM 
		
	 
	
		The hook doesn't have the IP parameter, so there's no way to implement this plugin anyway.
	 
	
	
	
	
 | 
| 
				
	 
					« Next Oldest | Next Newest »
				 
			 |