NoPerworldChat
Is a simple plugin that shows the chat even if you are in a different world than someone else.
Is a simple plugin that shows the chat even if you are in a different world than someone else.
NoPerworldChat
|
NoPerworldChat
Is a simple plugin that shows the chat even if you are in a different world than someone else.
02-17-2013, 01:31 AM
Well, usually for large servers you want the exactly opposite thing - having a chat that is limited only to players that are near to you, otherwise you get too much of it. Maybe you can make a plugin to do that as well? I wouldn't know how to do that easily, though.
02-17-2013, 01:38 AM
(02-17-2013, 01:31 AM)xoft Wrote: Well, usually for large servers you want the exactly opposite thing but for small servers this is pretty usefull (02-17-2013, 01:31 AM)xoft Wrote: I wouldn't know how to do that easily, though.Basic Cmds V2 (https://forum.cuberite.org/showthread.php?tid=1) already had something where you could use /whisper [msg] to talk to people in a range of 15 blocks and /shout [msg] for people in a radius of 30 blocks
That's right, you could just go through all the world's players, measure the distance to them and send the message specifically to those players, then refuse further processing on the chat message (return true). I was thinking something more systematic, such as MCServer having an API function ForEachPlayerWithinDistance() or such.
Combine all of these together, and you'll have the ultimate chat plugin
02-17-2013, 03:30 AM
i think if you add ForEachPlayerWithinDistance() il try to make it configurable
02-17-2013, 03:35 AM
You don't need that, just use ForEachPlayer() and check the distance in the callback.
02-17-2013, 04:16 AM
i tried what i can but i could not figure out how to do it
|
« Next Oldest | Next Newest »
|