Mostrando postagens classificadas por relevância para a consulta HurtWorld. Ordenar por data Mostrar todas as postagens
Mostrando postagens classificadas por relevância para a consulta HurtWorld. Ordenar por data Mostrar todas as postagens

domingo, 20 de dezembro de 2015

HurtWorld - Custom Spawns

My new plugin is just out.

With this plugin you can set your own spawns over the whole world!

Permissions:
-customspawns.edit | needed for set and delete
-customspawns.list | needed for list
-customspawns.pos | needed for pos

Commands:
- /spawn | Shows a little help page
- /spawn set | Sets an spawn at your position
- /spawn delete <id> | Delete an spawn
- /spawn list | Shows a list of all spawns
- /spawn pos | Shows your position

Download
Download
Download

HurtWorld - Time Manager

Time Manager controls the day/night timing of the server

Configuration:
Code (Java):
{
  "MESSAGES": {
    "THE TIME": "It's now {time} on day {day}"
  },
  "SETTINGS": {
    "BROADCAST TO CONSOLE": true,
    "DAY LENGTH (mins)": 15,
    "NIGHT LENGTH (mins)": 7,
    "PREFIX": "<white>[ <lightblue>TimeManager<end> ]<end>",
    "REMOVE CHAT COLORS": false
  }
}
Commands:
  • /time - Prints the current game time in the chat
Planned features:
  • Commands to change the day/night length through chat or console
  • Commands to set the time of the server to a specific hour
  • Settings to set the server to day/night only
  • API support for various functionalities to modify/check the time of the server
  • Votes to skip night (Suggested by @JamesDuncann)
* Any other you suggest or that I can think of  :)

Download
Download
Download


HurtWorld - Advert Messages

Advert Messages sends advert messages every X minutes.

Configuration:
[code=java][/code]
 Download
 Download
 Download


 

HurtWorld - Custom Death Messages

A simple plugin to setup your own death messages.
Download
Download
Download

HurtWorld - Kits

Descrição: Kits plugin, with only command chat support

Características:
Escolha um limite de uso para kits
Escolha um cooldown de kits
Criar kits para Administradores

Criar kits para VIPs

Players Commands:
- /kit => see the full list of available kits for you
- /kit KITNAME => choose a kit

Admin Commands:
- /kit list => see the full list of kits
- /kit add "KITNAME" => add a new kit
- /kit remove "KITNAME" => remove a kit from the database
- /kit edit "KITNAME" => edit a kit
- /kit resetkits => delete all kits and player data
- /kit resetdata => reset player data
- /kit option1 value1 option2 value2 option3 value3 => set the options for a kit you are currently editing

How to create kits:
1) Empty your inventory
2) Add in your inventory the kit that you want players to have
3) use /kit add "kitname"
4) set the options via: /kit option1 value1 option2 value2 etc
ex:
/kit items max 10 cooldown 3600 description "Every hour kit, max usage: 10"


Options:
max XXX/false => set the max usage of a kit (false will deactivate it)
cooldown XXXX/false => set the cooldown in seconds of a kit (false will deactivate it)
authlevel 1/0 => 1 is for admin only, 0 for players
permission CUSTOMPERMISSION/false => only players with the custom permission oxide permission will be able to redeem those (doesn't work on autokits). See under.
description "XXXX XXX"/false => set a description for a kit
hide true/false => hide a kit from the list: /kit (won't hide from the admin command /kit list)
items => no values here, this will copy the items in your inventory to set it in the kit.

Autokits:
Create a kit names: "autokit"
1) /kit add "autokit"
2) /kit items authlevel 1 hide true => so no one can redeem the autokit, and the autokit wont show in the list

Custom Permissions:
when you created a kit or edited a kit do:
/kit permission PERMISSIONNAME
the permissionname can be a new permission or an existing permission.

Custom permissions are oxide permissions:
Code (Text):
oxide.grant user "PLAYERNAME" PERMISSIONNAME
For Plugin Devs
To refuse a kit to be given
you may do this:
Code (Text):
function PLUGIN:canRedeemKit(player)
    if(ArenaPlayers[player]) then
        return "You are currently in an Arena, you may not redeem any kit"
    end
    -- don't return anything if you want to let the kit to be redeemed
end
By returning ANYTHING it will refuse the kit to be given, return a text to specify the reason.

Check if the kit exists:
Code (Text):
object theanswer = Interface.CallHook("isKit", KITNAME);

HurtWorld - Teleportation


Teleportation is a teleportation plugin with many different teleportation features.

Permissions:
  • teleportation.admin for admin commands (/tp & /tphere)
  • teleportation.tpr for teleport request commands (/tpr & /tpa)
  • teleportation.home for home commands (/home, /sethome, /removehome & /homes)
Chat Commands:
  • /tpa Accept teleport request
  • /tpr <player> Send teleport request
  • /tp <player> Teleport yourself to a player
  • /tp <player> <player> Teleport a player to another
  • /tp <x> <y> <z> Teleport yourself to a location (~ can be used as x, y or z to represent your x, y, z)
  • /tphere <player> Teleport somebody to yourself
  • /home <home> Teleport to your home
  • /homes List all your homes
  • /sethome <home> Set your home
  • /removehome <home> Remove your home
Config file:
Code (Javascript):
{
  "Settings": {
    "Home : Check for Stake": true,
    "Home : Cooldown Enabled": true,
    "Home : Cooldown in minutes": 5.0,
    "Home : Enabled": true,
    "Home : Maximal Homes": 3,
    "Home : Stake Radius": 10.0,
    "Home : Teleport Timer": 15.0,
    "TPR : Cooldown Enabled": true,
    "TPR : Cooldown in minutes": 5.0,
    "TPR : Enabled": true,
    "TPR : Pending Timer": 30.0,
    "TPR : Teleport Timer": 15.0
  }
}
Language file:
Code (Javascript):
{
  "No Permission": "You don't have permission to use this command.",
  "Request Ran Out": "Your pending teleport request ran out of time.",
  "Request Sent": "Teleport request sent.",
  "Request Got": "{player} would like to teleport to you. Accept by typing /tpa.",
  "Teleported": "You have been teleported to {target}.",
  "Accepted Request": "{player} has accepted your teleport request.",
  "Teleported Home": "You have been teleported to your home '{home}'.",
  "No Pending": "You don't have a pending teleport request.",
  "Already Pending": "{player} already has a teleport request pending.",
  "Teleporting Soon": "You will be teleported in {time} seconds.",
  "Teleport To Self": "You may not teleport to yourself.",
  "No Homes": "You do not have any homes.",
  "Home Set": "You have set your home '{home}'",
  "Home Removed": "You have removed your home '{home}'",
  "Home Exists": "You already have a home called '{home}'",
  "Home Teleported": "You have been teleported to your home '{home}'",
  "Home List": "Your Homes: {homes}",
  "Max Homes": "You may not have more than {count} homes!",
  "Unknown Home": "You don't have a home called '{home}'",
  "No Stake": "You need to be close to a stake you own to set a home.",
  "Home Cooldown": "You need to wait {time} minutes before teleporting to a home again.",
  "TPR Cooldown": "You need to wait {time} minutes before sending the next teleport request."
}
Download



HurtWorld - Location

Descrição: Localização, posição do jogador

Características:
Os administradores podem conseguir a posição de todos os jogadores conectados
O jogador pode obter a sua posição

Players Comandos:
- /pos
- /loc
- /position
- /location

Admin Comandos:
- /posall

Saída deste comando pode ser fundada em \oxide\data\Location.Json

Download


HurtWorld - LootConfig

- Auto resets to the list every Protocol version change
- Commands:
  • loot.reload
  • loot.reset

HurtWorld - Help

Special thanks to @Wulf for his help getting used to Hurtworlds setup. Best guy ever!

Features

  • Allows users to see a list of commands with /help and view details help information.
  • Allows admins to create and remove help commands with /helpadd and /helpremove
Commands
  • /help
  • /help [command]
  • /helpadd [command] "[answer]"
  • /helpremove [command]
Command Examples
  • /help
  • Displays a list of help commands.
  • /help rules
  • Displays the specific command.
  • /helpadd server "Welcome to the Server!"
  • Adds a new command called by /help server with the message "Welcome to the Server!"
  • /helpremove server
  • Removes the command called server.
  • Download


HurtWorld - Players List

Chat Commands:
- /players

Oxide Permissions:
default is: "canplayerslist"
to let players see the players list you must do:
Code (Text):
oxide.grant group players canplayerslist
Default Config:
Code (Text):
{
  "Message - Admin Color": "orange",
  "Message - Footer": "====================",
  "Message - Header": "=== Players List ===",
  "Message - Max characters per line": 50,
  "Message - Player Color": "green",
  "Permission - Oxide Permissions": "canplayerslist"
}

HurtWorld - Better Chat


Better Chat lets you change the name colors and prefixes as you want to, by using oxide permissions.

Note: The standard groups are automatically set up.

How to:
  1. Create a group in the config as shown in the preset groups
  2. Go into your chat
  3. Create a Oxide Group (if you want to give those Settings you made to a group) using: /group add <GROUPNAME>
  4. Give the Oxide group the Settings you made using: /grant group <GROUPNAME> <PERMISSION>
  5. or if you want to give it to a User not to a group, then do: /grant user <USERNAME> <PERMISSION>
  6. if you wanted to use it on groups, you can add users to the group using: /usergroup add <USERNAME> <GROUPNAME>
Now lets do that with the example of the V.I.P. group.
  1. creating a group:
    Code (Javascript):
      "vip": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "yellow",
        "Permission": "color_vip",
        "Rank": 2,
        "TextColor": "white",
        "Title": "[V.I.P.]",
        "TitleColor": "orange"
      }
  2. so it should look like this:
    Code (Javascript):
    {
      "mod": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "blue",
        "Permission": "color_mod",
        "Rank": 3,
        "TextColor": "white",
        "Title": "[Mod]",
        "TitleColor": "yellow"
      },
      "owner": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "blue",
        "Permission": "color_owner",
        "Rank": 4,
        "TextColor": "white",
        "Title": "[Owner]",
        "TitleColor": "red"
      },
      "vip": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "yellow",
        "Permission": "color_vip",
        "Rank": 2,
        "TextColor": "white",
        "Title": "[V.I.P.]",
        "TitleColor": "orange"
      },
      "player": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "blue",
        "Permission": "color_player",
        "Rank": 1,
        "TextColor": "white",
        "Title": "[Player]",
        "TitleColor": "blue"
      },
      "WordFilter": {
        "Enabled": false,
        "FilterList": [
          "fuck",
          "bitch",
          "faggot"
        ]
      }
    }
  3. Open up your Chat
  4. Type: /group add vip
  5. Type: /grant group vip color_vip
  6. Type: /usergroup add LaserHydra vip

To set priority ( means if someone has multiple groups, setting which formatting is actually used ) just change the rank of it ( the higher the value the higher the rank )

Commands:
  • /colors shows all available colors (You can also use -> HEX Codes!)
Permissions:
  • betterchat.formatting - needed for the usage of formatting tags like <color=orange>
Extra features:
  • different colors and prefixes depending on oxide groups
  • You can do alot with the "Formatting" of a group. you can customize it with
    • {Rank} = Group Rank
    • {Title} = Group Title
    • {TitleColor} = Group Title Color
    • {NameColor} = Group Name Color
    • {TextColor} = Group Text Color
    • {Name} = Player Name
    • {ID} = Player SteamID
    • {Message} = Message
And also just add words, letters, numbers, and symbols to it. Its everything possible. You can also just out the Title behind the name or stuff like that.

Standard Config file:
Code (Javascript):
{
  "mod": {
    "ConsoleFormatting": "{Title} {Name}: {Message}",
    "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
    "NameColor": "blue",
    "Permission": "color_mod",
    "Rank": 2,
    "TextColor": "white",
    "Title": "[Mod]",
    "TitleColor": "yellow"
  },
  "owner": {
    "ConsoleFormatting": "{Title} {Name}: {Message}",
    "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
    "NameColor": "blue",
    "Permission": "color_owner",
    "Rank": 3,
    "TextColor": "white",
    "Title": "[Owner]",
    "TitleColor": "red"
  },
  "player": {
    "ConsoleFormatting": "{Title} {Name}: {Message}",
    "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
    "NameColor": "blue",
    "Permission": "color_player",
    "Rank": 1,
    "TextColor": "white",
    "Title": "[Player]",
    "TitleColor": "blue"
  },
  "WordFilter": {
    "Enabled": false,
    "FilterList": [
      "fuck",
      "bitch",
      "faggot"
    ]
  }
}
For Developers:

API methods:
  • Dictionary<string, object> GetPlayerFormatting(BasePlayer player)
  • Dictionary<string, object> GetGroup(string name)
  • List<string> GetGroups()
  • List<string> GetPlayersGroups(BasePlayer player)
  • bool GroupExists(string name)
  • bool AddPlayerToGroup(BasePlayer player, string name)
  • bool RemovePlayerFromGroup(BasePlayer player, string name)
  • bool PlayerInGroup(BasePlayer player, string name)
  • bool AddGroup(string name, Dictionary<string, object> name)

Data from GetPlayerFormatting(BasePlayer player):
  • Formatting = Config[Formatting]
  • ConsoleFormatting = Config[ConsoleFormatting]
  • GroupRank = Config[GroupRank]
  • Title = Config[Title]
  • TitleColor = Config[TitleColor]
  • NameColor = Config[NameColor]
  • TextColor = Config[TextColor]
[EXAMPLE GetPlayerFormatting(BasePlayer player)]
Code (Lua):
PLUGIN.Title ="Better Chat Data Grabbing"
PLUGIN.Version = V(1,0,0)
PLUGIN.Description ="Data Grabbing"
PLUGIN.Author ="LaserHydra"

function PLUGIN:Init()
    command.AddChatCommand("grab", self.Object, "cmdGrab")
end

function PLUGIN:cmdGrab(player)
   local betterChat = plugins.Find("BetterChat")
   if betterName then
        data = betterChat:Call("GetPlayerFormatting", player)
        rust.SendChatMessage(player, "Your Prefix", data.Title)
        rust.SendChatMessage(player, "Your Prefix Color", data.TitleColor)
        rust.SendChatMessage(player, "Your Name Color", data.NameColor)
        rust.SendChatMessage(player, "Your Text Color", data.TextColor)
   end
end
Code (C#):
using System.Collections.Generic;
using System.Reflection;
using System;
using System.Data;
using Oxide.Core;

namespace Oxide.Plugins
{
    [Info("Better Chat Data Grabbing", "LaserHydra", "1.0.0", ResourceId = 0)]
    [Description("Data Grabbing")]
    class ChatnameDataGrab : HurtworldPlugin
    {
        [ChatCommand("grab")]
        void cmdGrab(BasePlayer player)
        {
           Plugin betterChat = null;
           betterChat = plugins.Find("BetterChat");
           if(betterChat!= null)
           {
                var data = betterChat.Call("GetPlayerFormatting", player);
                SendReply(player, "Your Prefix: " + data.Title);
                SendReply(player, "Your Prefix Color: " + data.TitleColor);
                SendReply(player, "Your Name Color: " + data.NameColor);
                SendReply(player, "Your Text Color: " + data.TextColor);
           }
        }
    }
}



Download


Download



Próximas postagens → Página inicial