forked from mtcontrib/serverguide
Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
ec7e3ecb9d | |||
d8a8ddc680 | |||
dcadedcf78 | |||
f5a1d2667e | |||
96c0962080 | |||
04bd5852d2 | |||
320a8e76f1 | |||
9826a7c4f1 | |||
ffea40645e |
@ -1 +0,0 @@
|
||||
default
|
@ -1 +0,0 @@
|
||||
The serverguide
|
126
init.lua
126
init.lua
@ -1,44 +1,107 @@
|
||||
local serverguide_Book_title="The server guide"
|
||||
|
||||
local serverguide_Tab_Text_1=[[
|
||||
Server info
|
||||
NotreAmiLeCube Server
|
||||
___/ Description \\__________________________________________________________________
|
||||
Welcome to "Notre Ami Le Cube"! (or NALC)
|
||||
This highly modded Minetest server is designed to be balanced and gives you multiple
|
||||
possibilities in the way you play.
|
||||
Be a builder, an engineer, a warrior, a magician or even a trader.
|
||||
The possibilities are almost endless.
|
||||
But be careful, surviving will be a real challenge.
|
||||
|
||||
___/ Website \\______________________________________________________________________
|
||||
https://demonix.fr/nalc
|
||||
|
||||
___/ IRC Server \\___________________________________________________________________
|
||||
Official: irc.geeknode.org:6697 - Channel #minetest-nalc
|
||||
Alternate: irc.sys4.fr:6697 - Channel #NALC
|
||||
|
||||
___/ Server Specs \\_________________________________________________________________
|
||||
- CPU: 2vCore at 3.8 GHz - RAM: 4 GB
|
||||
- Internet speed: 1 GB Down / 700 MB Up
|
||||
- OS: Gentoo Linux
|
||||
- Map: Valleys Mapgen - Seed : 1681440164076556961
|
||||
]]
|
||||
local serverguide_Tab_Text_2= [[
|
||||
1) No intentional try to disturb the server's stability will be tolerated.
|
||||
2) Cheating (hack, modified client, ...) is forbidden on this server.
|
||||
Be fair-play and learn to play according to the rules.
|
||||
3) On the server, PVP is authorized and theft/grief as well, to the exception
|
||||
of public buildings. (remember to use the areas mod to protect your buildings)
|
||||
4) Please do not spam or flood.
|
||||
5) Each player is responsible of his/her own account, we can't be held
|
||||
liable for any illegitimate use of it.
|
||||
6) Try to avoid 1x1 towers and overall destroying the environment, anywhere
|
||||
that is. This way the server will stay as beautiful, wild and
|
||||
natural as possible.
|
||||
7) Do not ask to be a member of the server staff.
|
||||
8) Swearing, racism, hate speech and the like is strictly prohibited.
|
||||
local serverguide_Tab_Text_2=[[
|
||||
[EN\]
|
||||
Type the command /rules
|
||||
To show irc rules, type the command /irc
|
||||
|
||||
[FR\]
|
||||
Tapez la commande /rules
|
||||
Pour montrer les règles de l'irc, tapez la commande /irc
|
||||
|
||||
]]
|
||||
local serverguide_Tab_Text_3= [[
|
||||
Rulers info (moderator or admins)
|
||||
Adminitrator : Sys4
|
||||
local serverguide_Tab_Text_3=[[
|
||||
Q: Why do I move so slowly? / Pourquoi je me déplace si lentement ?
|
||||
R: Basic movemens are based on reality. Several ways exist to speed up your character:
|
||||
[FR\]Les mouvements sont réalistes. Vous pouvez y remédier de la sorte :
|
||||
- Equip yourself with light armor (leather, mithril) / Équipez-vous d'armures
|
||||
légères (cuir, mithril)
|
||||
- Enchant your boots / Enchantez vos bottes
|
||||
- Make potions / Concoctez des potions
|
||||
You can combine all these items to get an insane speed! / Combinez ces éléments pour
|
||||
obtenir une vitesse démentielle !
|
||||
]]
|
||||
local serverguide_Tab_Text_4=[[
|
||||
Commands:
|
||||
- /guide : show this guide
|
||||
/guide: Montrer ce guide / Show this guide.
|
||||
/news: Voir les news du serveur / Show server news.
|
||||
/help [all | command\]: Obtenir l'aide complète ou d'une commande / Get complete help or
|
||||
help on a command.
|
||||
/hotbar [n\]: Changer la taille de la barre d'inventaire (23 max) / Change the inventory bar
|
||||
size (23 max).
|
||||
/volume: Modifier séparément les volumes sonores de la musique et des effets / Change the
|
||||
sound volumes of music and effects separately.
|
||||
/report: Laisser un message aux modérateurs (rapporter un bug, faire une demande, informer
|
||||
sur le comportement d'un joueur, etc.) / Leave a message to the moderators
|
||||
(report a bug, make a request, inform about the behavior of a player, etc.)
|
||||
/mail <player> <msg> : Envoyer un courriel à un autre joueur / Send an email to another
|
||||
player.
|
||||
/inbox: Lire ses courriels / Read your emails.
|
||||
]]
|
||||
local serverguide_Tab_Text_5=[[
|
||||
Help info
|
||||
Help you self
|
||||
Call moderators/administrator if you have questions on the server
|
||||
or need specific help.
|
||||
___/ Dev & contribute \\____________________________________________________________
|
||||
Git repositories:
|
||||
- https://sys4.fr/gitea/nalc/nalc-server
|
||||
- https://sys4.fr/gitea/nalc/nalc_game
|
||||
- https://sys4.fr/gitea/nalc/nalc-server-mods
|
||||
|
||||
Documentation (FR only):
|
||||
https://sys4.fr/gitea/nalc/nalc-server/wiki/
|
||||
|
||||
IRC: irc.sys4.fr:6697 - Channel #NALC-DEV
|
||||
|
||||
___/ Server History \\______________________________________________________________
|
||||
Au départ, ce serveur privé a été créé pour réaliser une série de vidéos Minetest
|
||||
sur Youtube co-animée par moi et Cyberpangolin.
|
||||
Étant grands fans du serveur MFF, nous avions alors décidé d'en faire un fork
|
||||
en rajoutant quelques mods dont nous avions besoins pour nos vidéos.
|
||||
Quand MFF mit fin à son serveur (RIP), NALC a continué d'évoluer sur sa
|
||||
propre voie et a depuis subi d'importants changements.
|
||||
Puis les vidéos youtube ont pris fin et fût venue le temps de l'ouvrir au public.
|
||||
Je considère que NALC est en quelque sorte un successeur spirituel de MFF.
|
||||
]]
|
||||
local serverguide_Tab_Text_6= [[
|
||||
Administrator / Administrateur: sys4
|
||||
Moderators / Moderateurs: Cyberpangolin, farfadet46, Grossam, Getsuga
|
||||
|
||||
[EN\] If you want to become a moderator, therefore to obtain special rights and be able to
|
||||
deliver them to other players, you will of course have to have proven yourself on the server.
|
||||
The decision will be exclusively mine to issue moderation rights to people
|
||||
whom I will judge to be competent to obtain them.
|
||||
|
||||
[FR\] Si vous voulez devenir modérateur, donc pour obtenir des droits spéciaux et pouvoir
|
||||
en délivrer à d'autres joueurs, il faudra bien sûr que vous ayez fais vos preuves sur le serveur.
|
||||
La décision m'appartiendra exclusivement de délivrer les droits de modération aux personnes
|
||||
que je jugerai comme compétentes pour les obtenir.
|
||||
]]
|
||||
|
||||
local serverguide_Tab_1="Server"
|
||||
local serverguide_Tab_2="Rules"
|
||||
local serverguide_Tab_3="Staff"
|
||||
local serverguide_Tab_2="Règles/Rules"
|
||||
local serverguide_Tab_3="FAQ"
|
||||
local serverguide_Tab_4="Commands"
|
||||
local serverguide_Tab_5="Help"
|
||||
local serverguide_Tab_5="Divers"
|
||||
local serverguide_Tab_6="Staff"
|
||||
|
||||
local function serverguide_guide(user,text_to_show)
|
||||
local text=""
|
||||
@ -47,14 +110,16 @@ if text_to_show==2 then text=serverguide_Tab_Text_2 end
|
||||
if text_to_show==3 then text=serverguide_Tab_Text_3 end
|
||||
if text_to_show==4 then text=serverguide_Tab_Text_4 end
|
||||
if text_to_show==5 then text=serverguide_Tab_Text_5 end
|
||||
if text_to_show==6 then text=serverguide_Tab_Text_6 end
|
||||
|
||||
local form="size[8.5,9]" ..default.gui_bg..default.gui_bg_img..
|
||||
local form="size[10,9]" ..default.gui_bg..default.gui_bg_img..
|
||||
"button[0,0;1.5,1;tab1;" .. serverguide_Tab_1 .. "]" ..
|
||||
"button[1.5,0;1.5,1;tab2;" .. serverguide_Tab_2 .. "]" ..
|
||||
"button[3,0;1.5,1;tab3;" .. serverguide_Tab_3 .. "]" ..
|
||||
"button[4.5,0;1.5,1;tab4;" .. serverguide_Tab_4 .. "]" ..
|
||||
"button[6,0;1.5,1;tab5;" .. serverguide_Tab_5 .. "]" ..
|
||||
"button_exit[7.5,0; 1,1;tab6;X]" ..
|
||||
"button[7.5,0;1.5,1;tab6;" .. serverguide_Tab_6 .. "]" ..
|
||||
"button_exit[9,0; 1,1;tab7;X]" ..
|
||||
"label[0,1;"..text .."]"
|
||||
minetest.show_formspec(user:get_player_name(), "serverguide",form)
|
||||
end
|
||||
@ -66,6 +131,7 @@ minetest.register_on_player_receive_fields(function(player, form, pressed)
|
||||
if pressed.tab3 then serverguide_guide(player,3) end
|
||||
if pressed.tab4 then serverguide_guide(player,4) end
|
||||
if pressed.tab5 then serverguide_guide(player,5) end
|
||||
if pressed.tab6 then serverguide_guide(player,6) end
|
||||
end
|
||||
end)
|
||||
|
||||
|
Reference in New Issue
Block a user