Time Nick Message 00:38 independent56 [sponsored ad] OMG! i just found rhotator and it literally cahnged mybuilding habits! I now build pipetunnels,not boring rectangles! buy it now at https://forum.minetest.net/viewtopic.php?p=322231 for 100% off! 01:49 MTDiscord can I make a tool that has the group "emerald" = 4 01:50 MTDiscord and then a node with emerald = 4 01:50 MTDiscord and then the tool will dig the node? 01:50 MTDiscord basically, my question is, how do I make custom digging groups? 01:51 MTDiscord instead of snappy, cracky, etc? 01:52 MTDiscord yes, no 01:53 MTDiscord you make the group, and then define it in tool capabilites 01:53 MTDiscord https://tenor.com/view/well-yes-but-actually-no-well-yes-no-yes-yes-no-gif-13736934 01:53 MTDiscord how do I do that? 01:53 MTDiscord https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L7458-L7476 01:54 MTDiscord groupcaps = { -- For example: choppy = {times = {[1] = 2.50, [2] = 1.40, [3] = 1.00}, uses = 20, maxlevel = 2}, }, 01:54 MTDiscord that? 01:54 MTDiscord no, the whole section i highlighted needs to be in your def 01:55 MTDiscord for example read https://github.com/minetest/minetest_game/blob/master/mods/default/tools.lua#L26-L39 01:56 rubenwardy it's just the groupcaps you need to update to support a new group for digging nodes 01:56 rubenwardy groupcaps is for nodes, damage_groups is for objects (players and entities) 01:56 MTDiscord within tool_capabilites 01:56 MTDiscord {times = {[1] = 2.50, [2] = 1.40, [3] = 1.00}, uses = 20, maxlevel = 2}, 01:56 rubenwardy yeah, within tool_capabilities 01:56 MTDiscord 1,2,3 is the group rating 01:57 MTDiscord ie. testgroup = 1 01:57 MTDiscord vs tesgroup = 3 01:57 MTDiscord does that mean that a node with choppy = 1 will take 2.5 sec to dig with this tool, choppy = 2 will take 1.4 sec, etc? 01:57 MTDiscord please read above 01:57 MTDiscord I dont understand that... 01:57 MTDiscord essentially yes 01:58 MTDiscord ok thx so much 01:58 MTDiscord basically tool_capabilites is hand + best of tool 01:58 MTDiscord except when your adding things to the hand inv, because that is broken 01:58 MTDiscord so if I make a new group, I can ignore hand, because hand will not support it 01:59 MTDiscord correct 01:59 MTDiscord just note that https://github.com/minetest/minetest/pull/11344 is a bug 01:59 MTDiscord ok, I dont need the hand to break these nodes, I can add oddly breakable if I need that 02:00 MTDiscord thx! 02:01 MTDiscord shill to rubenwardy if he wants to review that pr :p i would appreciate it 02:01 MTDiscord as working around that bug is annoying 02:29 MTDiscord a group value of 1 is usually the most difficult to break, right? 02:29 MTDiscord generally yes, altho you dont have to follow that 02:30 MTDiscord yeha well it will make things less confusing f i do for now 02:30 MTDiscord thx 02:30 MTDiscord https://cdn.discordapp.com/attachments/749727888659447960/881002770260434975/item_emerald.png 02:30 MTDiscord https://cdn.discordapp.com/attachments/749727888659447960/881002773146107924/item_opal.png 02:30 MTDiscord https://cdn.discordapp.com/attachments/749727888659447960/881002775511699466/item_ruby.png 02:30 MTDiscord https://cdn.discordapp.com/attachments/749727888659447960/881002777831165962/item_sapphire.png 02:30 MTDiscord IDK of you can get these, but this is part of what im working on, a takeoff of eggwars called gems 02:32 MTDiscord each team has a mine which produces gems, and a great gem which is their spawner, and they can make gem blocks which can only be dug with gem tools... easiest to dig with the same color 02:32 MTDiscord and hardest to dig with one other color 02:34 MTDiscord then they have to try to eliminate all the other teams... last team standing wins. In order to do so they will have to break the great gem 02:35 MTDiscord also sword of a gem color are most effective against players of that color 10:15 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Async-related script cleanups 136a1424f https://git.io/JEVu6 (152021-08-28T10:15:12Z) 10:15 MinetestBot 02[git] 04FnControlOption -> 03minetest/minetest: CI: Add macOS workflow (#11454) 130f8a6d7 https://git.io/JEVui (152021-08-28T10:14:55Z) 10:15 MinetestBot 02[git] 04savilli -> 03minetest/minetest: Remove redundant on_dieplayer calls 133f1adb4 https://git.io/JEVuP (152021-08-28T10:14:16Z) 11:03 MinetestBot kilbith: May-01 15:04 UTC oooo nice. I love it 11:03 kilbith what the moderation is doing for this troll? https://forum.minetest.net/viewtopic.php?p=399613#p399613 11:03 kilbith I'm sick of it 11:14 sfan5 apparently they're just back from a temporary ban 11:15 independent56 What use is a tunnel like https://static.planetminecraft.com/files/resource_media/screenshot/1135/minecraft_tunnel_03npt6_383954.jpg ? What does it do? 11:16 MTDiscord it looks cool. that's what it does 11:16 independent56 https://imgur.com/a/ZMTZAnu I can't even find use for my 10 m radius tunnel! 11:16 independent56 It's basically trains, utility lines, and two paths for maintance workers. 11:16 independent56 but i agree, it looks very cool. 11:19 independent56 I soemtimes look at minecraft images for reference, like "minecraft circle guide". Because they are effectively the same in purpose: build stuff with blocks and enjoy 11:20 MTDiscord Ah yes, that troll on the forum is rather annoying 11:24 MTDiscord https://forum.minetest.net/viewtopic.php?p=399151#p399151 probably most questionable 12:08 independent56 Is there anything wrong if you stay up unaturally and wake up naturally? 12:08 independent56 I woke 1t 10 and i feel rethresed 12:10 independent56 despite sleeping at 02:50 13:28 independent56 Is there any way to make three block long slopes in moreblocks? i need it for a tunnel with 31 block diameter. 13:30 independent56 https://imgur.com/a/XmFoxHI This is the only way i know. 13:35 MTDiscord The more shapes you add the easier you hit the node limit 13:38 independent56 Ah, makes sense... dammit! 13:41 independent56 Can someone send screenshots of smootha dn very wide minetest tunnels? 13:56 independent56 https://imgur.com/a/ZMTZAnu 13:56 independent56 How about my tunnel? 14:09 MinetestBot DrFrankenstone: Aug-23 12:10 UTC can you disclose your workflow for the panoramic images here: http://panoramas.minetest.land/ ? thank you :) 14:17 DrFrankenstone Just got your message about panaramics Buckaroo, I rook srifqi's equirectangluar pull request (https://github.com/minetest/minetest/pull/8475) and raised the resolutiuon of both the screenshot and the cubemap that it works off. After that you just hit F12 for a screenshot and put it into a viewer. Facebook understands equirect images, but pannellum is and easy way to put it in a webpage. 14:38 MTDiscord You can also fake this by setting FoV to 90 and setting your render resolution to 1:1 square 14:39 MTDiscord This applies to making Minetest skyboxes as well btw 14:39 MTDiscord It also works inside Blender for similar purposes 14:39 DrFrankenstone yeah, and pannellum can take 6 skybox images, or an equirectangular one 17:09 erlehmann hey about the caching stuff 17:09 erlehmann i'll be trying a tiny solution for linux 18:52 independent56 *sees clock 19:52 afer checking it last being 10:43* Another day passes by whilst playing minetest. 18:53 independent56 it felt like 3 hours 18:54 MTDiscord gems[ gem_name .. "_shop_gems_menu"] = 18:54 MTDiscord gems is a global var 18:54 MTDiscord then after = come a string, a formspec definition 18:54 MTDiscord I get an error here 18:55 MTDiscord unexpected symbol near '=' 18:55 MTDiscord any ideas? 19:10 MTDiscord ah, found it, I use table.insert 19:11 sfan5 you can also put parentheses around the value 19:11 sfan5 just make sure there's something after the ( 19:11 sfan5 the = I mean 20:52 MTDiscord oh. nice, that would have been an easier fix 21:22 independent56 Do you think i should turn my server to creative? Explain your reasoning 21:44 specing independent56: are you using creative? 21:45 independent56 Yes, all the time because i am admin. I am wondering if my playersshould enjoy this too. 21:45 specing then yes, you should make it creative for everyone 21:46 specing you can also make a button granting creative so whoever wants it can obtain it 21:46 independent56 Why? What makes it worse if it's survival? 21:46 independent56 But that's a good idea. Pay 5 gold ingots and you get to get creative 21:46 specing it's not survival if 50% of stuff is built in creative 21:47 independent56 Good point 21:51 independent56 what are the dangers ofgiving the creative inventory willy-nilly? 21:52 sfan5 people will place whatever they want in your world 21:53 independent56 ...Like what? Obsidian? Indestructable blocks? 21:53 independent56 How do i prevent this? buerocratic punishment? 21:54 sfan5 whatever the creative menu offers 21:54 independent56 Is there a way to remove stuff from the creative menu? 21:55 independent56 Something like in world.mt "creative_default:glass = false" to remove it from creative menu? 21:56 sfan5 manually add the "not_in_creative_inventory = 1" group to the nodes 21:56 sfan5 either with a mod that overrides the items or directly edit whereever it is registered 21:57 independent56 How do i do the first approach? Can i have boilerplate to copy? 22:02 MTDiscord local function remove_creative(itemname) local def = minetest.registered_items[itemname] if def then local override = {} override.groups = def.groups or {} override.groups.not_in_creative_inventory = 1 minetest.override_item(itemname, override) end end 22:02 independent56 As well, can i give people Fly and Fast privs? What about noclip? 22:03 MTDiscord Yes, just use the /grant command. Fly, Fast, and Noclip are all names of privs that you can /grant someone. 22:04 independent56 I know that. I am just wondering about security. I can see that i may not be able to chase players with the fast priv. 22:05 independent56 Maybe i make it an admin-controlled creative server. The admin will only give creativeif you are trusted by low standards 22:06 MTDiscord I think there's at least one mod to log player activity like placing blocks? If not it'd be easy enough to make. Either way you probably shouldn't need to watch over every player's shoulder anyways. 22:07 MTDiscord "Maybe i make it an admin-controlled creative server." Probably a good idea in general. 22:07 independent56 It's already default in the logs: "action (SERVER) vandal places node default:lava_source at (0,100,0)" 22:09 independent56 with the boilerplate you gave, do i just issue "remove_creative(advtrains:tcb)" or a variant of such? 22:09 MTDiscord Yeah, just with quotes around the item's name. 22:10 independent56 Nice! 22:10 independent56 Is it reccomended i give fly and noclip to everyone? 22:10 independent56 What are the potential security issues? 22:13 sfan5 security of what 22:14 sfan5 you cannot ask "is this secure" without definiting a threat model, what do you not want people to do? 22:14 independent56 I want my minetest server to run nicely, with minimal griefing. 22:17 independent56 And what about fast? how does that degrade the playing experience? 22:17 independent56 (oher then makingvandals impossible to catch) 22:17 MTDiscord to have issues with players requires you to actually have players 22:18 MTDiscord as for griefing you can install areas 22:18 independent56 XD 22:18 independent56 I already have 22:18 MTDiscord serverlist says 0/0 lol 22:19 independent56 Thats why even when the server was in singleplayer, i proteced everything 22:19 independent56 No, im definately on theserver 22:19 MTDiscord well now its 0/1 22:20 independent56 ha 22:25 sfan5 !server addr:i56. 22:25 MinetestBot sfan5: No results 22:25 sfan5 !server addr:56i. 22:25 MinetestBot sfan5: 56i-server | mtserver.56i.duckdns.org | Clients: 1/15, 0/1 | Version: 5.4.1 / minetest | Ping: 27ms 22:25 sfan5 there it is 22:27 independent56 What if my creative button is at 0,?,1000 ? What would happen? 22:30 sfan5 nothing? 22:30 independent56 It would filter out griefers who want fun, whilst also filtering out somehonest players 22:41 independent56 Should i give outworldedit priveladges? would it incur huge griefing? 23:03 sfan5 do not give worldedit privs to anyone, they'll be able to lock up your server, destroy your entire world, etc. 23:18 independent56 Ah yeah. 23:19 independent56 "//1 -100,-100,-100" "//2 1000,1000,1000" "//emergeblocks 23:19 MTDiscord speaking of worldedit, sfan5: would you accept a pr that change worldedit_gui to warning rather than a assert? that would make it easier to be put into worldmods (and games i suppose) that dont have inventories it doesnt support 23:20 sfan5 perhaps