[Mod] Admin Tools [admin_tools]

randomproof
Member
 
Posts: 214
Joined: Thu Nov 17, 2011 06:31
Location: California, USA

[Mod] Admin Tools [admin_tools]

by randomproof » Tue Feb 28, 2012 17:03

Admin Tools

Description:
I was thinking there needs to be tools that let server admins to control their servers. For now I have only made one tool.

Tools:
  • Remove Stick - removes anything it hits (nodes or entities, not players though(yet))
    Mainly this will allow you to remove locked chest and mobs.

Exported functions:
  • admin_tools.set_privilege(player_name, priv, value)
    Allows you to set arbitrarily player privileges
    player_name - string
    priv - string
    value - boolean
  • admin_tools.get_privileges(player_name, priv)
    Checks the values set with admin_tools.set_privilege, returns false if not set yet
    player_name - string
    priv - string

License of code and textures:
WTFPL

Dependencies: none

Links:
Download

Craft:
There are no crafting recipes on propose, only server admins should be able to get these items. Right now you do this by using /giveme or by adding the item to your player's file in "world/players" directory.
Last edited by randomproof on Fri Mar 23, 2012 15:55, edited 1 time in total.
 

User avatar
sfan5
Moderator
 
Posts: 3822
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Tue Feb 28, 2012 17:04

+1 for this Mod and the Idea
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

oblitorator
Member
 
Posts: 12
Joined: Mon Jan 16, 2012 00:39
Location: Dunbar.Ave 503 WV

by oblitorator » Thu Mar 22, 2012 17:34

nice idea! i like it 10+
you can get a membership card in the mail for my server just PM me! a membership card is basicly VIP! Membership bonuses:
geting into golden gates (Membership Gates),mining in awesome places like:lava falls,the death cavern and a diggy diggy hole!
also you will get rare items in the mail evry week (in game)
so get one today! ;)
 

User avatar
kddekadenz
Member
 
Posts: 323
Joined: Mon Jun 27, 2011 17:21
Location: Germany
GitHub: tinyworlds

by kddekadenz » Thu Mar 22, 2012 17:40

Here is a present, you can merge it (CC0):
Code: Select all
minetest.register_on_dieplayer(function(player)
    local name = player:get_player_name()
    minetest.chat_send_all(name.. " died")
    return true
end)


It will send a message to all players if someone died (name + died).
 

User avatar
sfan5
Moderator
 
Posts: 3822
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Thu Mar 22, 2012 17:41

kddekadenz wrote:Here is a present, you can merge it (CC0):
Code: Select all
minetest.register_on_dieplayer(function(player)
    local name = player:get_player_name()
    minetest.chat_send_all(name.. " died")
    return true
end)


It will send a message to all players if someone died (name + died).

+1
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

celeron55
Administrator
 
Posts: 454
Joined: Tue Apr 19, 2011 10:10
GitHub: celeron55
IRC: celeron55

by celeron55 » Thu Mar 22, 2012 21:38

Public Domain is not a license. What it means depends on the jurisdiction, and in some countries, eg. Finland, there is no thing called "public domain" at all.
 

User avatar
Jordach
Member
 
Posts: 4523
Joined: Mon Oct 03, 2011 17:58
Location: Blender Scene
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Thu Mar 22, 2012 22:16

celeron55 wrote:Public Domain is not a license. What it means depends on the jurisdiction, and in some countries, eg. Finland, there is no thing called "public domain" at all.

or, i dont give a fuck.
viewtopic.php?f=10&t=19056 Solar Plains Dev Server
 

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09
Location: Earth

by RAPHAEL » Thu Mar 22, 2012 22:22

Jordach wrote:
celeron55 wrote:Public Domain is not a license. What it means depends on the jurisdiction, and in some countries, eg. Finland, there is no thing called "public domain" at all.

or, i dont give a fuck.

Just use this license. Same thing.
http://sam.zoy.org/wtfpl/COPYING
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

User avatar
sfan5
Moderator
 
Posts: 3822
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Mar 23, 2012 05:50

Removed the (invalid license) from topic
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09
Location: Earth

by RAPHAEL » Fri Mar 23, 2012 14:59

Can this remove stick remove unknown blocks?
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

User avatar
sfan5
Moderator
 
Posts: 3822
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Mar 23, 2012 15:16

I think yes
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

randomproof
Member
 
Posts: 214
Joined: Thu Nov 17, 2011 06:31
Location: California, USA

by randomproof » Fri Mar 23, 2012 15:23

RAPHAEL wrote:Can this remove stick remove unknown blocks?

Yes, any node or entity, but players.
 

randomproof
Member
 
Posts: 214
Joined: Thu Nov 17, 2011 06:31
Location: California, USA

by randomproof » Fri Mar 23, 2012 15:55

Added exported functions:

  • admin_tools.set_privilege(player_name, priv, value)
    Allows you to set arbitrarily player privileges
    player_name - string
    priv - string
    value - boolean
  • admin_tools.get_privileges(player_name, priv)
    Checks the values set with admin_tools.set_privilege, returns false if not set yet
    player_name - string
    priv - string
 

User avatar
kddekadenz
Member
 
Posts: 323
Joined: Mon Jun 27, 2011 17:21
Location: Germany
GitHub: tinyworlds

by kddekadenz » Sat Mar 24, 2012 11:07

celeron55 wrote:Public Domain is not a license. What it means depends on the jurisdiction, and in some countries, eg. Finland, there is no thing called "public domain" at all.


If you do this as owner of this work, you wave all rights into public, so there should be no problem.
There are only problems, e.g. with old books, which are in some countries CC0 after some years of the dead of the author, without his/her permission.
 

User avatar
bcnjr5
Member
 
Posts: 67
Joined: Wed Apr 25, 2012 16:08
Location: 26.895601,-80.243576
 

User avatar
sfan5-bot
Member
 
Posts: 34
Joined: Thu Mar 28, 2013 11:19
Location: /usr/bin/python2.7

by sfan5-bot » Thu Mar 28, 2013 16:54

[EE] No Dependencies found


Please fix these Mistakes and report this post, a moderator will delete it
If you believe I have made a Mistake contact sfan5
 

User avatar
Wuzzy
Member
 
Posts: 3726
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Admin Tools [admin_tools]

by Wuzzy » Tue Sep 23, 2014 16:44

The mod has no dependencies.

The current version did not work for me (function was called before it was defined). So I made a little fix. I call this version 1.0.1.

This fix is too unimportant to me to create and maintain a full fork, so I just drop the zip file here.
Attachments
admin_tools1.0.1.zip
(3.3 KiB) Downloaded 146 times
 

User avatar
Fritigern
Member
 
Posts: 43
Joined: Mon Sep 29, 2014 11:01
Location: Spokane, WA
In-game: Fritigern

Re: [Mod] Admin Tools [admin_tools]

by Fritigern » Mon Feb 15, 2016 01:31

Installed this on my creative server because I had to remove some stray locked chests, iron doors and unknown blocks, only to find that my users would run amuck with the stupid admin wand.
So much for "admin" tools if everyone gets to use them!
--
This is NOT a sig.
 

paulvdv
Member
 
Posts: 20
Joined: Sat Sep 22, 2018 11:01

Re: [Mod] Admin Tools [admin_tools]

by paulvdv » Tue Jul 30, 2019 22:35

This mod does not work for me, I've tested both version 1.0 and 1.0.1. With version 1.0 Minetest does not start, with version 1.0.1 it does start, but I cannot remove anything. Are here people where it works?
 

FaceDeer
Member
 
Posts: 391
Joined: Sat Aug 29, 2015 19:01
GitHub: FaceDeer

Re: [Mod] Admin Tools [admin_tools]

by FaceDeer » Tue Dec 31, 2019 04:13

Since this mod seems to have suffered code rot, I extracted the "remove stick" tool and created an updated mod for it:

https://github.com/FaceDeer/remove_stick

It requires a player to have the remove_stick privilege to use, I figured it'd be a good idea to add a safety feature in case an admin accidentally dropped one of these.
 


Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 17 guests