Joriku
Working in the mines, need something?
Hi,
sadly I think this might be out of my reach for the moment being. So i'd like to request it for more usage then just me.
I just read the thread about OTServlist.org and agree with the MC's being a problem etc.
So my request will be about:
- An updated !online + website counter. (MyAcc, Gesior, Znote) - Website counter might already be reliable enough.
But when it comes to the online command, it shows any player that's online.
Would it be easy to create a fix for it to check if a player is X-logged/standing AFK for more then X amount of minutes? (Check for Config.lua afk-kick timer)
I know this might be "unnecessary" for some people, but for me. I like legit game-style and not cheating my way up on the list by gaining afk players. I feel like it needs to be more awesome people that loves legit playstyle and don't need the extra player counter themselves to gain more cash.
If there's not, I'll give up on humanity. Too much to handle you know..
I am using the original script which is found in any engine above TFS 1.2(REV):
sadly I think this might be out of my reach for the moment being. So i'd like to request it for more usage then just me.
I just read the thread about OTServlist.org and agree with the MC's being a problem etc.
Suggestion - Remove otservlist subforum
As in the title, I'm suggesting to remove that subforum. It doesn't seem like there is any interest anyway, only about 10 posts were sent this year. Not even xinn seems to care at all, as he's not answering there (and lately not even visiting otland at all). Besides, I don't see a reason why...
otland.net
So my request will be about:
- An updated !online + website counter. (MyAcc, Gesior, Znote) - Website counter might already be reliable enough.
But when it comes to the online command, it shows any player that's online.
Would it be easy to create a fix for it to check if a player is X-logged/standing AFK for more then X amount of minutes? (Check for Config.lua afk-kick timer)
I know this might be "unnecessary" for some people, but for me. I like legit game-style and not cheating my way up on the list by gaining afk players. I feel like it needs to be more awesome people that loves legit playstyle and don't need the extra player counter themselves to gain more cash.
If there's not, I'll give up on humanity. Too much to handle you know..
I am using the original script which is found in any engine above TFS 1.2(REV):
Lua:
local maxPlayersPerMessage = 10
local playersOnline = TalkAction("!online")
function playersOnline.onSay(player, words, param)
local hasAccess = player:getGroup():getAccess()
local players = Game.getPlayers()
local onlineList = {}
for _, targetPlayer in ipairs(players) do
if hasAccess or not targetPlayer:isInGhostMode() then
table.insert(onlineList, ("%s [%d]"):format(targetPlayer:getName(), targetPlayer:getLevel()))
end
end
local playersOnlineList = #onlineList
player:sendTextMessage(MESSAGE_ATTENTION, ("%d players online!"):format(playersOnlineList))
for i = 1, playersOnlineList, maxPlayersPerMessage do
local j = math.min(i + maxPlayersPerMessage - 1, playersOnlineList)
local msg = table.concat(onlineList, ", ", i, j) .. "."
player:sendTextMessage(MESSAGE_ATTENTION, msg)
end
return false
end
playersOnline:register()