Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: BrunoMine/gestor
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0
Choose a base ref
...
head repository: BrunoMine/gestor
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 5 commits
  • 3 files changed
  • 1 contributor

Commits on Nov 12, 2018

  1. Update README.md

    BrunoMine authored Nov 12, 2018
    Copy the full SHA
    a29e9b2 View commit details
  2. Update README.md

    BrunoMine authored Nov 12, 2018
    Copy the full SHA
    5c40175 View commit details

Commits on Dec 27, 2018

  1. Copy the full SHA
    6731bdf View commit details

Commits on Dec 29, 2018

  1. Copy the full SHA
    1b78119 View commit details

Commits on Jul 2, 2020

  1. Correção de mensagem no depurador

    Evitar mensagem de erro
    BrunoMine authored Jul 2, 2020
    Copy the full SHA
    024d92c View commit details
Showing with 28 additions and 5 deletions.
  1. +13 −4 README.md
  2. +14 −1 comandos.lua
  3. +1 −0 depends.txt
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

[![download](https://img.shields.io/github/tag/BrunoMine/gestor.svg?style=flat-square&label=release)](https://github.com/BrunoMine/gestor/archive/master.zip)
[![git](https://img.shields.io/badge/git-project-green.svg?style=flat-square)](https://github.com/BrunoMine/gestor)
[![forum](https://img.shields.io/badge/minetest-mod-green.svg?style=flat-square)](https://forum.minetest.net/viewtopic.php?f=9&t=15382)
[![forum](https://img.shields.io/badge/minetest-mod-green.svg?style=flat-square)](https://forum.minetest.net/viewtopic.php?f=9&t=15256)
[![bower](https://img.shields.io/badge/bower-mod-green.svg?style=flat-square)](https://minetest-bower.herokuapp.com/mods/gestor)

## Requitos
@@ -15,7 +15,7 @@

## Recursos

### Alerta de Crash do Servidor (em planejamento)
### Alerta de Crash do Servidor
Permite que o jogo envie um email de notificação de
parada inesperada do servidor de Minetest.

@@ -40,9 +40,18 @@ Sistema de aplicação de penalidades para jogadores especificos.
### Regras
Permite exigir a aceitação de regras ao conectar no servidor.

## Recursos do Projeto
## Licença _(License)_
Veja LICENSE.txt para informações detalhadas da licença LGPL 3.0

### Autores do código fonte
Originalmente por BrunoMine, Bruno Borges <borgesdossantosbruno@gmail.com> (LGPL 3.0)

### Autores de mídias (texturas, modelos and sons)
Todos que não estao listados aqui:
BrunoMine, Bruno Borges <borgesdossantosbruno@gmail.com> (CC BY-SA 3.0)

## Recursos do Projeto
* [Baixar](https://github.com/BrunoMine/gestor/archive/master.zip)
* [Projeto](https://github.com/BrunoMine/gestor)
* [Forum](https://forum.minetest.net/viewtopic.php?f=9&t=15382)
* [Forum](https://forum.minetest.net/viewtopic.php?f=9&t=15256)
* [Bower](https://minetest-bower.herokuapp.com/mods/gestor)
15 changes: 14 additions & 1 deletion comandos.lua
Original file line number Diff line number Diff line change
@@ -12,7 +12,20 @@ minetest.register_chatcommand("gestor", {
func = function(name)
local player = minetest.get_player_by_name(name)
player:set_attribute("gestor_aba", "inicio")
minetest.after(1, gestor.menu_principal, name, true)
minetest.after(0.1, gestor.menu_principal, name, true)
end
})

-- Menu de acesso simples
if type(sfinv_menu)~="nil" then
sfinv_menu.register_button("gestor:painel", {
title = "Gestor",
icon = "gestor.png",
privs = {server=true},
func = function(player)
local name = player:get_player_name()
player:set_attribute("gestor_aba", "inicio")
minetest.after(0.1, gestor.menu_principal, name, true)
end,
})
end
1 change: 1 addition & 0 deletions depends.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sfinv_menu?