Did you ever want to get something like the name of the server's world in csm? Now you can.
This mod adds an API to get an identifier (a string) for the server world, so that you can store data per server.
The user has to set the worldname each game session, using the .worldname chatcommand.
You can also install this mod on your server to send the user a hint.
Optional Depends: csm_com (for server hint)
Git repo: https://codeberg.org/Desour/csm_worldname
[(Client)Mod] get the worldname in csm [csm_worldname]
- Desour
- Member
- Posts: 1527
- Joined: Thu Jun 19, 2014 19:49
- GitHub: Desour
- IRC: Desour
- In-game: DS
- Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
[(Client)Mod] get the worldname in csm [csm_worldname]
Last edited by Desour on Mon Oct 16, 2023 22:09, edited 2 times in total.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)
- Lone_Wolf
- Member
- Posts: 2602
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [(Client)Mod] get the worldname in csm [csm_worldname]
Problem with this csm too. No name of world when I do .worldname?
- Desour
- Member
- Posts: 1527
- Joined: Thu Jun 19, 2014 19:49
- GitHub: Desour
- IRC: Desour
- In-game: DS
- Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
Re: [(Client)Mod] get the worldname in csm [csm_worldname]
That means the server doesn't have csm_worldname installed.Lone_Wolf wrote:Problem with this csm too. No name of world when I do .worldname?
I could give the possibility to set the worldname manually in a formspec if the server doesn't have the mod.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)
- Lone_Wolf
- Member
- Posts: 2602
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [(Client)Mod] get the worldname in csm [csm_worldname]
Yes please do that lolDS-minetest wrote:That means the server doesn't have csm_worldname installed.Lone_Wolf wrote:Problem with this csm too. No name of world when I do .worldname?
I could give the possibility to set the worldname manually in a formspec if the server doesn't have the mod.
Re: [(Client)Mod] get the worldname in csm [csm_worldname]
What is the command to change the world name? I'm using the notebook CSM as well, I think it would be nice to be able to switch between notes.


- Desour
- Member
- Posts: 1527
- Joined: Thu Jun 19, 2014 19:49
- GitHub: Desour
- IRC: Desour
- In-game: DS
- Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
Re: [(Client)Mod] get the worldname in csm [csm_worldname]
Qbiq: You are using my worldstorage mod, not csm_worldname. They both register the chatcommand "worldname". You shouldn't use both mods at once.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)
Re: [(Client)Mod] get the worldname in csm [csm_worldname]
Ah... Thank you DS. Sorry about that.
Re: [(Client)Mod] get the worldname in csm [csm_worldname]
Any luck on making a way so you can make your own worldname if the server does not have one?
or maybe just outputting the server name as the worldname?
i want to use csm_waypoints but cant on the server i want to run it on as it does not have a name
or maybe just outputting the server name as the worldname?
i want to use csm_waypoints but cant on the server i want to run it on as it does not have a name
- Lone_Wolf
- Member
- Posts: 2602
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [(Client)Mod] get the worldname in csm [csm_worldname]
I use this mod. It requires the teleport priv to work https://github.com/octacian/saveposLemonFox wrote:Any luck on making a way so you can make your own worldname if the server does not have one?
or maybe just outputting the server name as the worldname?
i want to use csm_waypoints but cant on the server i want to run it on as it does not have a name
- Desour
- Member
- Posts: 1527
- Joined: Thu Jun 19, 2014 19:49
- GitHub: Desour
- IRC: Desour
- In-game: DS
- Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
Re: [(Client)Mod] get the worldname in csm [csm_worldname]
Update:
The user now has to set the worldname via a chatcommand. It's no longer set automatically.
But it now also works on servers that don't have the mod installed.
I didn't test much though.
The user now has to set the worldname via a chatcommand. It's no longer set automatically.
But it now also works on servers that don't have the mod installed.
I didn't test much though.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)