Implemented /list command
parent
601940f089
commit
8944e01aa2
12
ROADMAP
12
ROADMAP
|
@ -88,12 +88,14 @@ It's really fast. May be used on a website, to show the actual map.
|
||||||
- [ ] WARNING[Server]: WARNING: minetest.setting_* functions are deprecated. Use methods on the minetest.settings object. (at .../.minetest/games/minetest-solebull/mods/hbarmor/init.lua:97)
|
- [ ] WARNING[Server]: WARNING: minetest.setting_* functions are deprecated. Use methods on the minetest.settings object. (at .../.minetest/games/minetest-solebull/mods/hbarmor/init.lua:97)
|
||||||
Still present with new client ?
|
Still present with new client ?
|
||||||
**** Multiplayer test
|
**** Multiplayer test
|
||||||
|
CLOCK: [2018-12-29 sam. 01:10]--[2018-12-29 sam. 01:29] => 0:19
|
||||||
CLOCK: [2018-09-16 dim. 18:28]--[2018-09-16 dim. 18:59] => 0:31
|
CLOCK: [2018-09-16 dim. 18:28]--[2018-09-16 dim. 18:59] => 0:31
|
||||||
CLOCK: [2018-09-09 dim. 17:42]--[2018-09-09 dim. 21:11] => 3:29
|
CLOCK: [2018-09-09 dim. 17:42]--[2018-09-09 dim. 21:11] => 3:29
|
||||||
*Before a player can join, add player to whitelist (/whitelist add ...)*
|
*Before a player can join, add player to whitelist (/whitelist add ...)*
|
||||||
- [X] mescons mod present ? OUI (with exaltion)
|
- [X] mescons mod present ? OUI (with exaltion)
|
||||||
- Silver pickaxe mine pas assez vite
|
- Silver pickaxe mine pas assez vite
|
||||||
- [ ] Add a listplayers command to list connected players
|
- [X] Add a /list command to list connected players
|
||||||
|
|
||||||
- [ ] Bigger player inventory
|
- [ ] Bigger player inventory
|
||||||
**** TODO *New streamed test*
|
**** TODO *New streamed test*
|
||||||
CLOCK: [2018-12-21 ven. 02:39]--[2018-12-21 ven. 03:01] => 0:22
|
CLOCK: [2018-12-21 ven. 02:39]--[2018-12-21 ven. 03:01] => 0:22
|
||||||
|
@ -177,14 +179,14 @@ It's really fast. May be used on a website, to show the actual map.
|
||||||
- [X] The game is now deadly slow maybe due to playerefects
|
- [X] The game is now deadly slow maybe due to playerefects
|
||||||
Deactivated autosave every 10 seconds in playereffects/settings.lua
|
Deactivated autosave every 10 seconds in playereffects/settings.lua
|
||||||
- [X] No PVP at -150 of depth
|
- [X] No PVP at -150 of depth
|
||||||
- [ ] Try to add nether mod
|
- [X] Try to add nether mod
|
||||||
Create a obsidianportal
|
Create a obsidianportal
|
||||||
Activate it with mese crystal fragment
|
Activate it with mese crystal fragment
|
||||||
- [ ] We can't open doors when created by another player
|
- [X] modified mg_villages.ENABLE_PROTECTION from true to false
|
||||||
Maybe completely remove doors/ mod
|
|
||||||
- [ ] modified mg_villages.ENABLE_PROTECTION from true to false
|
|
||||||
Doen't work anymore. We don't want anymore to protect villages
|
Doen't work anymore. We don't want anymore to protect villages
|
||||||
disable it
|
disable it
|
||||||
|
- [ ] We can't open doors when created by another player
|
||||||
|
Maybe completely remove doors/ mod
|
||||||
- [ ] Even with protection, we can take what's in villagers' chests
|
- [ ] Even with protection, we can take what's in villagers' chests
|
||||||
Try to add them as protected chest
|
Try to add them as protected chest
|
||||||
- [ ] Too much stuff in NPC villages
|
- [ ] Too much stuff in NPC villages
|
||||||
|
|
3
TODO
3
TODO
|
@ -11,7 +11,8 @@ minetest-solebull - LGPL-2.1 - A PVP/faction game for minetest based on Cobalt.
|
||||||
|
|
||||||
|
|
||||||
* v0.0.1-3 (17 Dec. 2018 - ???)
|
* v0.0.1-3 (17 Dec. 2018 - ???)
|
||||||
- (7) Add a nether mod
|
- (8) Implemented /list command
|
||||||
|
- Add a nether mod
|
||||||
- Deactivated playereffects autosave
|
- Deactivated playereffects autosave
|
||||||
- Add the areas mod
|
- Add the areas mod
|
||||||
- Added pvp_areas to protect map spawn point
|
- Added pvp_areas to protect map spawn point
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
-- Register the /list command used to print player list
|
||||||
|
|
||||||
|
listcmd = function (playername,parameter)
|
||||||
|
|
||||||
|
local lst = "Joueurs connectés : "
|
||||||
|
for _, player in pairs(minetest.get_connected_players()) do
|
||||||
|
lst = lst..player:get_player_name().." "
|
||||||
|
end
|
||||||
|
minetest.chat_send_player(playername,lst)
|
||||||
|
end
|
||||||
|
|
||||||
|
minetest.register_chatcommand("list", {
|
||||||
|
params = "<cmd>",
|
||||||
|
description = "list players",
|
||||||
|
privs = { interact=true },
|
||||||
|
func = listcmd,
|
||||||
|
}
|
||||||
|
)
|
Loading…
Reference in New Issue