Войти или зарегистрироваться
  • Вы находитесь в сообществе Rubukkit. Мы - администраторы серверов Minecraft, разрабатываем собственные плагины и переводим на различные языки плагины наших коллег из других стран.

Обсудим Нубятник №5 - помощь по самым простым вопросам.

Друг, я понимаю, но почему, что я делаю не так? может быть свзяно это с тем, что с ввожу на своий твин аккаунт
Возможно, что в плагине есть проверка на IP. Проверь с каким-нибудь игроком.
 
Возможно, что в плагине есть проверка на IP. Проверь с каким-нибудь игроком.
Вы были правы, дело было в IP адересе, что бы разрешить с одного IP надо:
выставить это значение maxSameIP: 2
 
Добрый день! Столкнулся с проблемой не могу настроить реферальную систему так: что игрок может ввести /ref nik после недели отыгровки
Плагин: https://www.spigotmc.org/resources/referral-1-7-1-16.72219/
Конфиг
Код:
########################################################
#
#   Database Config
#
########################################################

# DB = 'local' or 'mysql'
db: local

# Database Login
host: 0.0.0.0
port: 3306
database: users
username: root
password: ""
table: user

# this is a small step to prevent abuse of the referrals
# 0 for no referral from the same network
useSameIPLimit: true
# Max from the same IP
maxSameIP: 2



########################################################
#
#   Player Rewards
#
########################################################

# the Player has to confirm referral (or reject)
usePlayerConfirm: false

# Use a Referral time limit
# The time limit affects only the normal rewards (Not the milestone rewards)
# The Player will have to use /ref < Player> within the timelimit when first joining the server
useReferralTimeLimit: true
# Time limit in minutes
referralTimeLimit: 1

# Use a Referral min play
# The time limit effect when the player can be rewarded
# The Player needs play for a cartain amount of time to use /ref
useReferralMinPlay: true
# Time limit in minutes
referralMinPlay: 1

# Option if they can refer each other
canReferEachOther: false


# These are the default rewards
# This is the player that invited another player
playerRefers:
    - givemoney <Player> 100
# This is the player that recieved an invite  from a player
playerReferd:
    - givemoney <Player> 100
  

# Use milestone rewards
# This will not be affected by the time limit
# These are for the Player that invited a certain amount of players to the server
useMileStoneRewards: false
# Milestone reward
# These are some examples, and You can add more or change it
# min = the required amount to get the reward
# command = a list of commands to execute
rewards:
   1:
      min: 1
      commands:
         - give <Player> diamond 64
   2:
      min: 10
      commands:
         - give <Player> diamond 128




########################################################
#
#   Chat Config
#
########################################################

# No permission
noPerm: "&cYou don't have the required permission."
# Player only
playerOnly: "&cOnly players can use this command."
# Too many Arguments
tooManyArgs: "&cToo many arguments!"
# if Player isn't online
notOnline: "&f%player_name% &c is not online"
# Missing player name
missingPlayer: "&cMissing player name."
# Missing args
missingaArgs: "&cMissing arguments."
# Shows ref total
playerTotal: "&6Player &f%player_name% &6Has: &f%referral_total% &6Referrals"
# If Player tries to ref accept self
acceptSelf: "&cYou need to accept someone else"
# This Player already referred someone
alreadyRefed: "&cThis player already got a referral."
# if that Player has not referred him
didntRef: "&cThat player didn't refer you!"
# confirm referral from Player
playerRef: "&6Confirm referral: &f%player_name%"
# player has been removed from the database
playerRemoved: "&6Player: &f&f%player_name% &6has been removed"
# Remove All
removeAll: "&6All players have been removed"
# failed to remove
playerRemovedFailed: "&6Was not able to remove: &f%player_name%"
# player has been reset from database
playerReset: "&6Player: &f%player_name% &6has been reset"
# Reset All
resetAll: "&6All players have been reset"
# failed to reset
playerResetFailed: "&6Was not able to reset: &f%player_name%"
# if Player tries to reject without a name
rejectSomeone: "&cYou need to reject someone else!"
# if Player rejects
playerRej: "&6You Rejected &f%player_name% referral."
# if Player tries to refer self
referSelf: "&cYou can't referral yourself!"
# if the Player refers to a player
referring: "&6referring: &f%player_name%"
# if the Player tries to ref but already refed someone
alreadyRefedSelf: "&cYou already refed a player"
# if the Player sends ref twice to a player
alreadySendRef: "&cYou already send a request to this player"
# if the Player got a refer
youGotRefer: "&f%player_name% &6got your referral do you:"
# a confirm to the sender
youSendRequest: "&6You send request to: &f%player_name%"
# when the player is to late
referTooLate: "&6Your referral was not in the time limit."
# when the players play time is to low
referMinPlay: "&6You have not met the required play time."
# cant Refer more from the same IP
maxIP: "&6You can't use your referral."
# The notification the receives when the Player got rejected
playerGotRej: "&6Your referral got rejected by: &f%player_name%."
# The notification the player receives when the Player accepted ref
playerAcceptedRef: "&6You got referred by: &f%player_name%."
####
# The button colours can't be changed
# Text on the accept button
accept: "Accept"
# Text on the decline button
decline: "Decline"

# The text if they try to
referEachOther: "&cYou can't refer each other!"

# Enable notification
enableNotification: false
#Only for Player that join the first time
referNotification: "&6The referral system has a time limit, so make sure you use it."
 
Добрый день! Столкнулся с проблемой не могу настроить реферальную систему так: что игрок может ввести /ref nik после недели отыгровки
Плагин: https://www.spigotmc.org/resources/referral-1-7-1-16.72219/
Конфиг
Код:
########################################################
#
#   Database Config
#
########################################################

# DB = 'local' or 'mysql'
db: local

# Database Login
host: 0.0.0.0
port: 3306
database: users
username: root
password: ""
table: user

# this is a small step to prevent abuse of the referrals
# 0 for no referral from the same network
useSameIPLimit: true
# Max from the same IP
maxSameIP: 2



########################################################
#
#   Player Rewards
#
########################################################

# the Player has to confirm referral (or reject)
usePlayerConfirm: false

# Use a Referral time limit
# The time limit affects only the normal rewards (Not the milestone rewards)
# The Player will have to use /ref < Player> within the timelimit when first joining the server
useReferralTimeLimit: true
# Time limit in minutes
referralTimeLimit: 1

# Use a Referral min play
# The time limit effect when the player can be rewarded
# The Player needs play for a cartain amount of time to use /ref
useReferralMinPlay: true
# Time limit in minutes
referralMinPlay: 1

# Option if they can refer each other
canReferEachOther: false


# These are the default rewards
# This is the player that invited another player
playerRefers:
    - givemoney <Player> 100
# This is the player that recieved an invite  from a player
playerReferd:
    - givemoney <Player> 100
 

# Use milestone rewards
# This will not be affected by the time limit
# These are for the Player that invited a certain amount of players to the server
useMileStoneRewards: false
# Milestone reward
# These are some examples, and You can add more or change it
# min = the required amount to get the reward
# command = a list of commands to execute
rewards:
   1:
      min: 1
      commands:
         - give <Player> diamond 64
   2:
      min: 10
      commands:
         - give <Player> diamond 128




########################################################
#
#   Chat Config
#
########################################################

# No permission
noPerm: "&cYou don't have the required permission."
# Player only
playerOnly: "&cOnly players can use this command."
# Too many Arguments
tooManyArgs: "&cToo many arguments!"
# if Player isn't online
notOnline: "&f%player_name% &c is not online"
# Missing player name
missingPlayer: "&cMissing player name."
# Missing args
missingaArgs: "&cMissing arguments."
# Shows ref total
playerTotal: "&6Player &f%player_name% &6Has: &f%referral_total% &6Referrals"
# If Player tries to ref accept self
acceptSelf: "&cYou need to accept someone else"
# This Player already referred someone
alreadyRefed: "&cThis player already got a referral."
# if that Player has not referred him
didntRef: "&cThat player didn't refer you!"
# confirm referral from Player
playerRef: "&6Confirm referral: &f%player_name%"
# player has been removed from the database
playerRemoved: "&6Player: &f&f%player_name% &6has been removed"
# Remove All
removeAll: "&6All players have been removed"
# failed to remove
playerRemovedFailed: "&6Was not able to remove: &f%player_name%"
# player has been reset from database
playerReset: "&6Player: &f%player_name% &6has been reset"
# Reset All
resetAll: "&6All players have been reset"
# failed to reset
playerResetFailed: "&6Was not able to reset: &f%player_name%"
# if Player tries to reject without a name
rejectSomeone: "&cYou need to reject someone else!"
# if Player rejects
playerRej: "&6You Rejected &f%player_name% referral."
# if Player tries to refer self
referSelf: "&cYou can't referral yourself!"
# if the Player refers to a player
referring: "&6referring: &f%player_name%"
# if the Player tries to ref but already refed someone
alreadyRefedSelf: "&cYou already refed a player"
# if the Player sends ref twice to a player
alreadySendRef: "&cYou already send a request to this player"
# if the Player got a refer
youGotRefer: "&f%player_name% &6got your referral do you:"
# a confirm to the sender
youSendRequest: "&6You send request to: &f%player_name%"
# when the player is to late
referTooLate: "&6Your referral was not in the time limit."
# when the players play time is to low
referMinPlay: "&6You have not met the required play time."
# cant Refer more from the same IP
maxIP: "&6You can't use your referral."
# The notification the receives when the Player got rejected
playerGotRej: "&6Your referral got rejected by: &f%player_name%."
# The notification the player receives when the Player accepted ref
playerAcceptedRef: "&6You got referred by: &f%player_name%."
####
# The button colours can't be changed
# Text on the accept button
accept: "Accept"
# Text on the decline button
decline: "Decline"

# The text if they try to
referEachOther: "&cYou can't refer each other!"

# Enable notification
enableNotification: false
#Only for Player that join the first time
referNotification: "&6The referral system has a time limit, so make sure you use it."
referrealMinPlay. Время в минутах.
 
Возникает такая интересная ситуация, ставлю команду на NPC - /ah , а при нажатии пишется это
Код:
[22:26:28 INFO]: This command can only be run by a player!
, хоть я не испольную GM и опку
плагин Command NPC https://www.spigotmc.org/resources/commandnpc.40295/ Версия 1.16.1
Конфиг рынка:
Код:
#
# AuctionHouse
config_version: 30
economy: vault
locale: en_us
decimal_format: '#,##0.00'
strict: false
chatHook: true
updateTicks: 20
auction:
  integerPrice: false
  showRepairCost: true
  listingPrice: 0.0
  listingRate: 0.0
  listingCooldown: 0d0h0m0s
  listingDuration: 1d0h0m
  expiredDuration: 14d0h0m
  unclaimedDuration: 90d0h0m
  cleanupDuration: 0d24h0m
  soldDuration: 365d0h0m
  unclaimedCheckDuration: 0d0h5m
  unclaimedCheckOnWorldChange: true
  preventCreative: true
  preventSpectator: true
  minSellPrice: 0.0
  maxSellPrice: 100000.0
  salesTax: 0.0
  maxSalesTax: 100000.0
  allowDamagedItems: false
  defaultMaxListings: 1
  sortOrder: oldest
  announce: false
  action_bar: true
  discord: false
  discord_channel: auctionhouse
  multiworld: false
  groupWorlds: false
  replaceUUIDs: false
  replacePlayerNames: false
  dropAtFeet: false
  showSeconds: true
  spawnerInfo: true
announce:
  chat:
    listings: true
    purchases: true
  action_bar:
    listings: false
    purchases: false
sounds:
  click: ui.button.click
  fail: entity.villager.no
  drop: entity.player.burp
  sold: block.note_block.chime
buttons:
  exit: minecraft:iron_door
  back: minecraft:red_terracotta
  previous: minecraft:paper
  sort_listings: minecraft:cake
  next: minecraft:paper
  info: red_terracotta
  howto: minecraft:white_terracott
  return_all: minecraft:air
  player_listings: minecraft:red_terracotta
  expired_listings: minecraft:white_terracotta
  sold_items: minecraft:white_terracotta
  clear: minecraft:air
  confirm: minecraft:lime_stained_glass_pane
  cancel: minecraft:red_stained_glass_pane
triggers:
  sign: '[AuctionHouse]'
  block_name: Auction House
  entity_name: Auction House
commands:
  exit: msg %player% Exiting AuctionHouse
log:
  listed: true
  sold: true
  cancelled: true
  returned: true
  dropped: true
  purged: true
disabled-worlds: []
configVersion: 29
restricted_items:
  '0':
    item: minecraft:bedrock
  '1':
    item: minecraft:barrier
  '2':
    item: minecraft:command_block
  '3':
    item: minecraft:structure_block
  '4':
    item: minecraft:dirt
  '5':
    item: minecraft:grass_block
  '6':
    item: minecraft:rotten_flesh
  '7':
    item: minecraft:cobblestone
  example:
    name: \u00a7cVorpal Sword
    item: minecraft:diamond_sword
    lore:
    - Special Item
    - Does not list in AuctionHouse
    enchantments:
    - ench: minecraft:sharpness
      level: 10
    - ench: minecraft:unbreaking
      level: 3
    - ench: minecraft:looting
      level: 3
    - ench: minecraft:fire_aspect
      level: 2
 
Возникает такая интересная ситуация, ставлю команду на NPC - /ah , а при нажатии пишется это
Код:
[22:26:28 INFO]: This command can only be run by a player!
, хоть я не испольную GM и опку
плагин Command NPC https://www.spigotmc.org/resources/commandnpc.40295/ Версия 1.16.1
Конфиг рынка:
Команда активируется от лица консоли. Поищи в плагине возможность ввода команды от лица игрока. Если не сможешь - можно костыльно, через команду /sudo игрок команда из Ess.
 
Возникает такая интересная ситуация, ставлю команду на NPC - /ah , а при нажатии пишется это
Код:
[22:26:28 INFO]: This command can only be run by a player!
, хоть я не испольную GM и опку
плагин Command NPC https://www.spigotmc.org/resources/commandnpc.40295/ Версия 1.16.1
Конфиг рынка:
Советую на CitizensCMD переходить - он лучше и удобнее.
 
Советую на CitizensCMD переходить - он лучше и удобнее.
То же об этом задумывался, если не ошибаюсь там вроде есть возможность ввода команды от лица от игрока, при взаимодействии NPC
 

Поделиться этой страницей

Назад
Верх