Ir para conteúdo

[TCTerrenos] Skript de Terrenos em seu servidor!


MrSilkBr

Posts Recomendados

bb0870186d3721077092f7be56533eebfa1bc340


 


 


Fala galera blz? bom vamos direto ao assunto. A uns tempos atrás inventei de criar um skript de terrenos com a ajuda o TzMárcio más infelizmente minha preguiça me parou  por ter que organizar muitas variáveis  '-'...


 


Então decidi procurar algum plugin de terrenos e adaptar e então encontrei o HouseGuard.


 


Ele não é muito bom e tem alguns bugs como comprar terreno dentro de outros, adicionar amigos etc.. Eu resolvi esses bugs pelo skript e o adaptei para "Terreno pequeno, médio, grande e gigante".


 


OBSERVAÇÃO: Skript feito para mundos flat (reto)... Recomendo não mecherem no código pois não forneço suporte. Perdi mó tempão pra fazer essa config pois eu uso em meu servidor então eu mesmo altero.


 


2479eaa982c2b453dbb0a8dd40c5cadb368c8e13


 


 


      [================ [Comandos disponiveis] ================]  

        (/Terreno info) Para ver as informaçoes!  

        (/Terreno ir) Para ir ate seu terreno!  

        (/Terreno comprar) Para compra um terreno!  

        (/Terreno addamigo) Para adicionar um amigo de seu terreno!  

        (/Terreno remamigo) Para remover um amigo de seu terreno!  

        (/Terreno destruir) Para destruir seu terreno com seu terreno!  

        (/Terreno pvp) Para ativar ou desativar pvp em seu terreno!  

      [================ [Comandos disponiveis] ================]  

 


b270a593ad8306d19b94f4e2b0f1573bc21a4599


 


 


[================ [Tamanhos disponiveis] ================] 

     (/Terreno comprar pequeno) Preço Editável!  [ Tamanho Editável! x Tamanho Editável! ]! 

     (/Terreno comprar medio) Preço Editável!   Tamanho Editável! x{@TamanhoTerrenoMedio ]! 

     (/Terreno comprar grande) Preço Editável!  [ Tamanho Editável! x Tamanho Editável! ]! 

     (/Terreno comprar gigante) Preço Editável!  [ Tamanho Editável! x Tamanho Editável! ]! 

   [================ [Tamanhos disponiveis] ================] 

 

0053181c358d73b46cc59f2b096fe0718c4ab831

 

###MENSAGENS###

Prefix: &3[servidor]

 

#PERMISSÕES E QUANTIDADES

PermissaoVip: vip.use

TerrenosParaVip: 3

TerrenosParaMembros: 1

 

#TAMANHOS

#Blocos quadrados, coloque 1 a mais do permitido pois as fences não são quebráveis ou seja, 10 blocos ficariam 11#

TamanhoTerrenoPequeno: 11

TamanhoTerrenoMedio: 11

TamanhoTerrenoGrande: 11

TamanhoTerrenoGigante: 11

 

#PREÇOS

#Você precisa também alterar nas configurações do HouseGuard no caso quero a 40000 10 blocos 40000/10 = 4000#

PrecoTerrenoPequeno: 40000

PrecoTerrenoMedio: 40000

PrecoTerrenoGrande: 40000

PrecoTerrenoGigante: 40000

 

8741b55cafe0e8f861181d5312a621b35c935d4f

 

Config:

 


# Put the price of the unit block of the protection.

# Ex. /buy house 10 = 10 * BlockPurchasePrice = $100,00

# Ex. /buy house 100 = 100 * BlockPurchasePrice = $1000,00  

BlockPurchasePrice: 4000

 

# Put the price of the unit of the size expansion.

# Ex. /expand house 1 = 1 * BlockPurchaseExpand = $50,00

# Ex. /expand house 10 = 10 * BlockPurchaseExpand = $500,00  

BlockPurchaseExpand: 0

 

# If the player want to deny the pvp, put the price payment.

PVPPrice: 0

 

#Put the abreviation of the coin name.

#Will appear in the text coins.

CoinName: $

 

# You can choose area, hg, house or casa

#Ex: /area, /hg, /house or /casa

CommandName: /hg

 

#Put false if you want leaving the block in the maximum height possible.

#Put true if you want leave the block aligned with the y position player.

Align: false

 

# Put the name of the block and subId. Example: WOOD_STEP:2

#look the name in website above


BlockName: FENCE

 

# Put the limit of area of the player will be able to have

MaxAreas: 3

 

# Put the maximum size of the area that each player can create

MinSize: 10

MaxSize: 50

 

#Put the maximum and minimum height that will protect in the moment you use / buy.

MinHeight: 0

MaxHeight: 256

 

#Put true if you want that is removed from the leaves and trunks of area in which the player buy.

RemoveTree: false

 

#Choose the  language. Use the standard i18n. In the moment have just: en_US and pt_BR

Language: pt_BR

 

#delay for tp command in seconds.

tpDelay: 0

 

#mysql if its false = sqlite, if its true = mysql

isMySQL: false

Server: Localhost

Database: hg

User: root

Password: root


 

 

Não adicione as permissões para não bugar o skript!

 

8fb427e38718454e4026137fee825ce7feea904d

 

 

CREDITOS AO SCREEN POR ME AJUDAR A TESTAR '-'  :giggle:  :devil:

 

Bom, não muito trabalho mais deu então espero a compreensão de ambos sobre os encurtadores "VLW's"

 


Editado por IgorGamer - TeamSvS
Link para o comentário
Compartilhar em outros sites

Participe da Conversa

Você pode postar agora e se cadastrar mais tarde. Se você tiver uma conta, a class='ipsType_brandedLink' href='https://gamersboard.com.br/login/' data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-title='Sign In Now'>acesse agora para postar com sua conta.
Observação: sua postagem exigirá aprovação do moderador antes de ficar visível.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.

Processando...
×
×
  • Criar Novo...