[Mod] Admin Tools [admin_tools]

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

[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
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
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

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
GitHub: tinyworlds

by kddekadenz » Thu Mar 22, 2012 17:40

Here is a present, you can merge it (CC0):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Thu Mar 22, 2012 17:41

kddekadenz wrote:Here is a present, you can merge it (CC0):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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
Member
 
Posts: 430
Joined: Tue Apr 19, 2011 10:10

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: 4412
Joined: Mon Oct 03, 2011 17:58
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.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

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

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
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
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

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
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
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

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

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
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

by bcnjr5 » Tue May 22, 2012 21:24

Minetest will not start. http://prntscr.com/9k8fw
 

User avatar
sfan5-bot
Member
 
Posts: 35
Joined: Thu Mar 28, 2013 11:19

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: 2161
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 161 times
 

User avatar
Fritigern
Member
 
Posts: 43
Joined: Mon Sep 29, 2014 11:01
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.
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 58 guests

cron