write something there

This commit is contained in:
N-Nachtigal 2025-05-04 16:01:41 +02:00
commit b4b6c08f4f
8546 changed files with 309825 additions and 0 deletions

View file

@ -0,0 +1,7 @@
Minetest Game mod: game_commands
================================
See license.txt for license information.
Authors of source code
----------------------
rubenwardy (MIT)

View file

@ -0,0 +1,31 @@
-- game_commands/init.lua
-- Load support for MT game translation.
local S = minetest.get_translator("game_commands")
minetest.register_chatcommand("killme", {
description = S("Kill yourself to respawn"),
func = function(name)
local player = minetest.get_player_by_name(name)
if player then
if minetest.settings:get_bool("enable_damage") then
player:set_hp(0)
return true
else
for _, callback in pairs(minetest.registered_on_respawnplayers) do
if callback(player) then
return true
end
end
-- There doesn't seem to be a way to get a default spawn pos
-- from the lua API
return false, S("No static_spawnpoint defined")
end
else
-- Show error message if used when not logged in, eg: from IRC mod
return false, S("You need to be online to be killed!")
end
end
})

View file

@ -0,0 +1,24 @@
License of source code
----------------------
The MIT License (MIT)
Copyright (C) 2017-2018 rubenwardy <rubenwardy@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software, and to permit
persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
For more details:
https://opensource.org/licenses/MIT

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Selbstmord begehen, um zu Respawnen
No static_spawnpoint defined=Kein static_spawnpoint definiert
You need to be online to be killed!=Sie müssen online sein, um getötet zu werden!

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Sinmortigu por renaski
No static_spawnpoint defined=Ne estas difina static_spawnpoint
You need to be online to be killed!=Vi devas esti enreta por esti mortigita!

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Suicídate para reaparecer
No static_spawnpoint defined=No se ha definido un punto de aparición
You need to be online to be killed!=¡Necesitas estar en línea para que te maten!

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Se suicider pour réapparaître
No static_spawnpoint defined=Pas de point d'apparition défini
You need to be online to be killed!=Vous devez être en ligne pour être tué !

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Bunuh diri untuk bangkit kembali
No static_spawnpoint defined=Tidak ada static_spawnpoint (titik bangkit statis) yang diatur
You need to be online to be killed!=Anda harus daring untuk dibunuh!

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Ucciditi per ricomparire
No static_spawnpoint defined=Nessuno static_spawnpoint definito
You need to be online to be killed!=Devi essere in linea per essere ucciso!

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=リセットしてリスポーンします
No static_spawnpoint defined=static_spawnpoint が設定されていません
You need to be online to be killed!=リセットするにはオンラインである必要があります

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=.i ro nu do catra do cu tadji pa nu do tolcanci
No static_spawnpoint defined=.i no da ckaji lo me la'o zoi.static_spawnpoint.zoi
You need to be online to be killed!=.i lo nu samjo'e cu sarcu lo nu do se catra

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Nobeidzieties lai atdzīvotos
No static_spawnpoint defined=static_spawnpoint nav definēts
You need to be online to be killed!=Jums jābūt tiešsaistē lai nobeigtos.

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Bunuh diri anda untuk jelma semula
No static_spawnpoint defined=Tiada titik jelma statik (tetapan static_spawnpoint) ditakrifkan
You need to be online to be killed!=Anda mesti berada dalam talian untuk dibunuh!

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Zastosować komendę kill aby się zrespawnować
No static_spawnpoint defined=Nie zdefiniowano static_spawnpoint
You need to be online to be killed!=Musisz być online aby zastosować komendę kill

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Mate-se para reaparecer
No static_spawnpoint defined=Nenhum ponto de reaparecer estático definido
You need to be online to be killed!=Você precisa estar online para ser morto!

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Убейте себя, чтобы возродиться
No static_spawnpoint defined=static_spawnpoint не определён
You need to be online to be killed!=Вы должны быть в сети, чтобы убить себя!

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Samovražda pre znovuzrodenie
No static_spawnpoint defined=Nie je definované stále miesto znovuzrodenia
You need to be online to be killed!=Musíš byť online, aby si mohol byť zabitý!

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Döda dig själv för att respawna
No static_spawnpoint defined=Ingen static_spawnpoint definierad
You need to be online to be killed!=Du måsta vara online för att bli dödad!

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Вбити себе, щоб відродитися
No static_spawnpoint defined=Немає визначеного static_spawnpoint
You need to be online to be killed!=Ви повинні бути онлайн, щоби Вас було вбито!

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=自杀并重生
No static_spawnpoint defined=static_spawnpoint 未定义
You need to be online to be killed!=您需要在线才能被杀死!

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=殺死自己並重生
No static_spawnpoint defined=static_spawnpoint 未定義
You need to be online to be killed!=您需要在線才能被殺死!

View file

@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=
No static_spawnpoint defined=
You need to be online to be killed!=

View file

@ -0,0 +1,2 @@
name = game_commands
description = Minetest Game mod: game_commands