Page MenuHome1F616EMO Bugtracker

No OneTemporary

Size
6 KB
Referenced Files
None
Subscribers
None
diff --git a/cmd_admin/init.lua b/cmd_admin/init.lua
new file mode 100644
index 0000000..a4a6a55
--- /dev/null
+++ b/cmd_admin/init.lua
@@ -0,0 +1,36 @@
+-- twi_mods/cmd_admin/init.lua
+-- Override /admin command
+--[[
+ Copyright © 2024 1F616EMO
+
+ 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.
+]]
+
+local S = minetest.get_translator("cmd_admin")
+
+local msg = table.concat({
+ S("The administrator of this server is 1F616EMO."),
+ S("To contact the moderation team, type /report in the chatroom.")
+}, "\n")
+
+minetest.override_chatcommand("admin", {
+ func = function(name, param)
+ return true, msg
+ end
+})
diff --git a/cmd_admin/mod.conf b/cmd_admin/mod.conf
new file mode 100644
index 0000000..336f38a
--- /dev/null
+++ b/cmd_admin/mod.conf
@@ -0,0 +1 @@
+name = cmd_admin
\ No newline at end of file
diff --git a/random_tips/init.lua b/random_tips/init.lua
index cc39ed5..9843362 100644
--- a/random_tips/init.lua
+++ b/random_tips/init.lua
@@ -1,87 +1,90 @@
-- twi_mods/random_tips/init.lua
-- Tips for 1F616EMO Server
--[[
Copyright (C) 2024 1F616EMO
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA
]]
local S = minetest.get_translator("random_tips")
--[[
Chinese translations guidelines:
1. Use TA (pinyin of 他/她) when translating gender-neutral third-person pronouns.
Spaces are not required on both sides of TA.
Use 你 (gender-neutral/male/traditional) when translating gender-neutral second-person pronouns,
as using NI seems odd.
2. Use 「」 for Traditional Chinese, and “” for Simplified, as pointed out by y5nw in minetest-mods/areas#71.
]]
random_messages_api.from_table({
-- teleport commands
S("Type in /spawn to go back to the spawn point, where you can access numerous useful locations and facilities."),
S("Type in /sethome at where you want to set up your home coordinates, and then type in /home to go back."),
S("To request teleporting to another player's location, type in /tpr <their name>."),
-- communications
S("Type in /mail to open the mail dialog, where you can communicate with other players without them being online."),
S("Type in /report if you want to contact our moderation team to report misbehavior or suggest changes."),
-- In-game POI
S("The public farm at Spawn provides an early-game food source. " ..
"Remember to replant the crops after harvesting them."),
S("The public tree farm at Spawn can be an easy way to get wood. " ..
"Don't forget to plant the saplings after chopping down wood."),
- S("Visit the Plain Houses Area via train or by walk from Spawn for places to settle down."),
+ S("Visit Spawn South via train or by walk from Spawn for places to settle down."),
-- Advtrains
S("Do not walk on tracks. The damage from a running train is deadly."),
S("Right-click a train with an opened door to go onto it."),
-- Technic
S("Using machines from the technic mod speeds up your crafting workflows."),
S("Visit a technic station to use machines from the technic mod without crafting them yourself."),
S("Tools from the technic mod may require charging. Place them in the \"charging\" slot of a battery box."),
S("Crafting a mining drill can be very helpful in bulk digging tasks."),
S("Use a chainsaw to chop down an entire tree at once."),
-- Pipeworks
S("Autocrafters are useful in freeing your hand from repeated crafting tasks."),
S("Item ejectors take items from a container into the pneumatic tube system."),
S("Connect containers to a pneumatic tube system for items to flow in."),
S("Always add trash cans at the end of pneumatic tube systems having the risk of overflowing " ..
"to avoid breaking them."),
-- Digtron
S("The digtron mod helps construct automated tunnel-boring machines. " ..
"It is very useful in mining or building repeating patterns."),
-- Farming
S("Punch a grown crop with a mithril scythe to re-plant it while obtaining its drops."),
S("Punch a dirt block with a hoe to turn it into farmlands. Do so near water for the farmland to work."),
S("Discover different crops around the world, and plant them in farmlands by right-clicking."),
-- Bonemeal
S("Bones are dropped by chance when digging dirt blocks. " ..
"They can be ground into bone meal for fertilizing crops and plants."),
S("Using bonemeal on dirt blocks to obtain flowers and grasses naturally found on that type of dirt."),
-- Economy (smartshop/atm/wtt)
S("Click on the selling items icon of a smart shop interface to buy them."),
S("Right-click an ATM to withdraw or deposit money."),
S("Right-click a wire transfer terminal to start a digital transaction. " ..
- "The receiver will be notified via in-game mail.")
+ "The receiver will be notified via in-game mail."),
+
+ -- For Sale Sign
+ S("Vacant plots are indicated by a \"SALE\" sign. Right-click it to buy the plot."),
})

File Metadata

Mime Type
text/x-diff
Expires
Fri, Apr 17, 5:19 PM (4 h, 25 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c8/f0/6c4bc8fec04a0f1c3c8c97bd4f22
Default Alt Text
(6 KB)

Event Timeline