• Chào bạn, hãy đăng ký hoặc đăng nhập để tham gia cùng bọn mình và sử dụng được đầy đủ chức năng của diễn đàn :).
chungok

Hỏi về Plugin về towny permission cho từng world

Trạng thái
Không mở trả lời sau này.

chungok

THÀNH VIÊN
Tham gia
21/12/2017
Bài viết
92
1.mình cài - -towny.command.town.new cho permission ở 1 world trong rank member, nhưng vẫn lập towny đc?
do sai perm hay như nào
2. prem nào để k cho dùng lệnh /t unclaim? (do lệnh này phát sinh lỗi bug)
*****Nội dung được bổ sung thêm*****
chấm .... :(
 
Hỏi về Plugin  MyPet
Chụp mình config perm xem
multiserver:
use-netevents: true
permissions:
debug: false
allowOps: false
user-add-groups-last: false
log-players: false
createUserRecords: false
backend: file
informplayers:
changes: false
basedir: plugins/PermissionsEx
backends:
file:
type: file
file: permissions.yml
updater: true
alwaysUpdate: false
 
Chụp mình config perm xem
Member:
options:
rank: '800'
prefix: '&6[&a&lMember&6]&f'
default: true
permissions:
- -bukkit.command.help
- -bukkit.command.kill
- -bukkit.command.me
- authme.player.*
- essentials.list
- essentials.rules
- essentials.spawn
- essentials.home
- essentials.sethome
- essentials.afk.auto
- essentials.back
- essentials.back.ondeath
- essentials.balance
- essentials.balance.others
- essentials.balancetop
- essentials.getpos
- essentials.kit
- essentials.mail
- essentials.mail.send
- essentials.me
- essentials.msg
- essentials.pay
- essentials.tpa
- essentials.tpaccept
- essentials.tpahere
- essentials.tpdeny
- essentials.warp
- essentials.warp.list
- essentials.signs.use.buy
- essentials.signs.use.heal
- essentials.signs.use.repair
- essentials.signs.use.sell
- essentials.signs.use.enchant
- essentials.signs.use.warp
- essentials.signs.use.kits
- essentials.signs.use.balance
- essentials.signs.use.time
- essentials.signs.use.weather
- essentials.signs.use.info
- essentials.signs.use.trade
- towny.wild.*
- chestcommands.open.*
- -towny.command.town.unclaim <<<<==== CÁI NÀY K CHẠY MEM VẪN /T UNCLAIM ĐƯỢC LIỆU CÓ PHẢI XUNG ĐỘT VỚI - towny.wild.* HAY SAI PERM
worlds:
world_nether:
options:
prefix: '&4[Địa_Ngục]'
permissions:
- -towny.command.town.new <<<<<==== CÁI NÀY K CHẠY VẪN /T NEW ĐƯỢC
world_the_end:
options:
prefix: '&6[THE_END]'
permissions:
- -essentials.sethome
- -essentials.back
- -towny.command.town.new
spawn:
options:
prefix: '&2[ĐẠI_SẢNH]'
permissions:
- -towny.command.town.new
sanbos:
options:
prefix: '&2[SĂN_BOS]'
permissions:
- -towny.command.town.new
- -essentials.back
- -essentials.back.ondeath
- -essentials.sethome
- -essentials.home
- -essentials.tpahere
- -essentials.tpaccept
 
bỏ bớt dấu (-) đi :< để lại 1 cái thôi :3
Ví dụ : - -towny.command.town.unclaim
Fix : - towny.command.town.unclaim
*****Nội dung được bổ sung thêm*****
Kiểm tra mấy cái dưới cũng bị nữa kìa!
 
bỏ bớt dấu (-) đi :< để lại 1 cái thôi :3
Ví dụ : - -towny.command.town.unclaim
Fix : - towny.command.town.unclaim
*****Nội dung được bổ sung thêm*****
Kiểm tra mấy cái dưới cũng bị nữa kìa!

các lệnh - -essentials. đều được mà nếu fix thì để -towny.command.town.unclaim thôi à
 
có à ? Nhưng mà t không rành towny đâu =)) t chỉ thấy config sai và bảo sữa vài cái thôi!
Mà thêm ' - ' làm gì nữa? Chỉ cần 1 cái - là đủ mà nhỉ?
*****Nội dung được bổ sung thêm*****
Xem lại perm nhé :D
towny.palmergames.com
 
có à ? Nhưng mà t không rành towny đâu =)) t chỉ thấy config sai và bảo sữa vài cái thôi!
Mà thêm ' - ' làm gì nữa? Chỉ cần 1 cái - là đủ mà nhỉ?
*****Nội dung được bổ sung thêm*****
Xem lại perm nhé :D
towny.palmergames.com



mấy cái trên là cho phép còn k cho phép thì thêm -
ví dụ như : - -essentials.sethome k cho sethome, cái này vẫn sài bt, có mỗi cái towny kìa là k đc
 
Ta cũng không rõ, xem cái perm của towny đi!
 
có à ? Nhưng mà t không rành towny đâu =)) t chỉ thấy config sai và bảo sữa vài cái thôi!
Mà thêm ' - ' làm gì nữa? Chỉ cần 1 cái - là đủ mà nhỉ?
Cái '- -' trong permission được gọi là negated permission (chặn quyền)
Screenshot_20180406_171854.png

1.mình cài - -towny.command.town.new cho permission ở 1 world trong rank member, nhưng vẫn lập towny đc?
do sai perm hay như nào
2. prem nào để k cho dùng lệnh /t unclaim? (do lệnh này phát sinh lỗi bug)
*****Nội dung được bổ sung thêm*****
chấm .... :(
Bạn cho mình xem phần townyperm.yml trong thư mục settings của towny xem.
 
Cái '- -' trong permission được gọi là negated permission (chặn quyền)
View attachment 9278

Bạn cho mình xem phần townyperm.yml trong thư mục settings của towny xem.


# This file contains custom permission sets which will be assigned to your players
# depending on their current status.
#
# This is all managed by towny and pushed directly to CraftBukkits SuperPerms.
# These will be in addition to any you manually assign in your specific permission plugin.
#
# You may assign any Permission nodes here, including those from other plugins.
# You may also create any custom ranks you require.


# The 'nomad' permission set covers players not in any town
nomad:
- towny.command.towny.map
- towny.command.towny.prices
- towny.command.towny.tree
- towny.command.towny.time
- towny.command.towny.universe
- towny.command.towny.version
- towny.command.towny.war
- towny.command.town.new
- towny.command.town.join
- towny.command.town.list
- towny.command.plot.perm
- towny.command.nation.list
- towny.town.resident
- towny.town.spawn.public
- towny.chat.general

# This section of permissions covers players who are members of a town.
towns:
default:
# 'default' is the permission set which is auto assigned to any normal town member
- towny.command.resident.*
- towny.command.plot.claim
- towny.command.plot.unclaim
- towny.command.plot.forsale
- towny.command.plot.notforsale
- towny.command.plot.toggle.*
- towny.command.plot.set.perm
- towny.command.plot.set.reset
- towny.command.town.online
- towny.command.town.leave
- towny.command.town.deposit
- towny.town.spawn.town
- towny.chat.town
mayor:
# Mayors get these permissions in addition to the default set.
- towny.tax_exempt
- towny.command.towny.top
- towny.command.town.*
- towny.command.plot.*
- towny.claimed.owntown.*
- towny.command.nation.new

ranks:
# Ranks contain additional permissions residents will be
# granted if they are assigned that specific rank.
assistant:
- towny.tax_exempt
- towny.command.town.claim.*
- towny.command.town.add
- towny.command.plot.*
- towny.command.town.toggle.public
- towny.claimed.owntown.switch.*
# assistants are able to grant VIP and helper rank
- towny.command.town.rank.vip
- towny.command.town.rank.helper
helper:
- towny.claimed.townowned.switch.*
donator:
# Currently only an example rank holder with no extra permissions
vip:
- towny.cheat.bypass
# Sheriff rank is able to jail other town members.
sheriff:
- towny.command.town.toggle.jail

# This section of permissions covers players who are members of any town in a nation.
nations:
default:
# All nation members get these permissions.
- towny.command.nation.online
- towny.command.nation.deposit
- towny.town.spawn.nation
- towny.town.spawn.ally
- towny.chat.nation
king:
# Kings get these permissions in addition to the default set.
- towny.command.nation.*

ranks:
assistant:
- towny.command.nation.rank.helper
- towny.command.nation.add
- towny.command.nation.ally
- towny.command.nation enemy
helper:
- towny.command.nation.add
 
config.yml của Towny luôn.
mà kiểm tra trong đó dòng using_permissions có đang false không... có thì chỉnh thành true, lưu và khởi động lại server

đã làm như trên và gây ra lỗi PermissionsEx k hoạt động , k cấp quyền đc cho towny, rank, color chat

16:51:41 WARN]: [ColoredTags] Task #55 for ColoredTags v2.1.3 generated an exception ru.tehkode.permissions.exceptions.PermissionsNotAvailable: Permissions manager is not accessable. Is the PermissionsEx plugin enabled? at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:405) ~[?:?]


[16:52:56 WARN]: [AuthMe] Task #1531 for AuthMe v5.4.0-b1877 generated an exception ru.tehkode.permissions.exceptions.PermissionsNotAvailable: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
 
@chungok z k giao dịch nữa đúng hk bạn
 
Trạng thái
Không mở trả lời sau này.
Similar content Most view Xem thêm
Back
Top Bottom