QuickShop普通玩家无法创建商店,只有OP可以 - 联机问答 - Minecraft(我的世界)中文论坛 -.html

QuickShop普通玩家无法创建商店,只有OP可以 - 联机问答 - Minecraft(我的世界)中文论坛 -

Minecraft(我的世界)中文论坛

 找回密码
 注册(register)

!header_login!

只需一步,立刻登录

查看: 2849|回复: 11

[插件应用] QuickShop普通玩家无法创建商店,只有OP可以

 关闭 [复制链接]
风雪大池 当前离线
积分
469
帖子
主题
精华
贡献
爱心
钻石
人气
下界之星
最后登录
1970-1-1
注册时间
2014-12-19
查看详细资料
发表于 2015-12-24 22:59:20 | 显示全部楼层 |阅读模式
34金粒
如题,配置文件内容如下:
-----------------------------------------------------------------------------------------------------
#Tax amount (decimal) - Eg, P1 buys $50 worth of stuff from P2.  Therefore, P1 loses $50, P2 gains $(1-0.05)*50, and tax-account gains $(0.05)*50.
tax: 0.05
#The fake player who money from taxing people goes to
tax-account: tax

#Should we log transactions/creations to Bukkit\Plugins\QuickShop\qs.log?
log-actions: true


#Advanced.  This chooses which economy to hook into.  If it fails, it will fall back to trying vault. Spelling must be exact. Case insensitive.
# Vault - Will hook into anything vault can hook into (Vault is required for this to work)
# Satoshis
# Want yours added? Contact me (Netherfoam) on dev.bukkit.org
economy: Vault

#For item-item based economies that don't use virtual coins.
whole-number-prices-only: false

database:
    mysql: false
    host: localhost
    port: 3306
    database: quickshop
    user: root
    password: passwd

#Limits the number of shops a person can create and own at a single time.
limits:
    #Disable these if you're not using them! If this is false, the rest of this section is ignored
    use: true
    #The default number of shops players can make
    default: 10
    #Players with these permissions can create these amounts of shops.
    ranks:
        #Anyone with 'quickshop.vip' permissions, can create 20 shops instead of 10.
        quickshop.vip: 20 #Players with quickshop.vip can make 20 shops.

#A list of block (materials) which can be used to create shops.
#By default, chests are added to this list.
#This will only work for blocks which implement InventoryHolder
#in other words, no enderchest shops, no shops on dirt blocks, etc.
#May cause unexpected behaviour with some blocks... Eg don't make a
#shop on a hopper (It sucks the display item in) and furnace shops
#allow players to put whatever item they want in all 3 slots and
#dispenser shops aren't protected from redstone... Etc.
shop-blocks:
    - CHEST
    - TRAPPED_CHEST

shop:
    #Cost to make a stall
    cost: 10
    #Should we refund when their shops are deleted/removed/broken?
    refund: false

    #Is there a fee for changing prices on a shop (Help deter endless undercutting)
    price-change-requires-fee: true
    #If price changes require a fee, how much is the fee
    fee-for-price-change: 50

    #Should we try and lock their shops from other players, so people can't steal from them?
    lock: true
    #Should we require players be sneaking to create and use shops?
    sneak-only: false
    #Should we automatically create the sign for the chest?
    auto-sign: true
    #If a player owns an unlimited shop, should they receive the cash from it or not?
    #If you buy from YOUR unlimited shop, you will NEVER be charged $$, regardless of this setting
    pay-unlimited-shop-owners: false
    #Should we place display items on the chests?
    display-items: false
    #Should we place item frames on chests?
    frame-items: true
    #When someone uses /qs find <item>, how far should we search in blocks?
    #This command lets users shop quickly without wasting time searching
    #Settings > 100 WILL cause lag. Don't do it, or don't cry when your server lags.
    find-distance: 45

#List of items to disallow selling of.  Anyone with quickshop.bypass.<itemID> can bypass it   
blacklist:
    - 7 #Bedrock

----------------------------------------------------------------------------------------------------------------------------------

红菜头糕 当前离线
积分
7330
帖子
主题
精华
贡献
爱心
钻石
人气
下界之星
最后登录
1970-1-1
注册时间
2015-4-19
查看详细资料
发表于 2015-12-24 23:04:34 | 显示全部楼层
输入指令mangaddp builder quickshop.create
回复

使用道具 举报

风雪大池 当前离线
积分
469
帖子
主题
精华
贡献
爱心
钻石
人气
下界之星
最后登录
1970-1-1
注册时间
2014-12-19
查看详细资料
 楼主| 发表于 2015-12-24 23:08:00 | 显示全部楼层
SS菜鸟君 发表于 2015-12-24 23:04
输入指令mangaddp builder quickshop.create

不好意思,应该是我没表达明白。
我现在的状况是只有OP可以创建商店,普通玩家创建不了。
但是我想让所有玩家都能创建商店,需要什么指令呢?
回复

使用道具 举报

红菜头糕 当前离线
积分
7330
帖子
主题
精华
贡献
爱心
钻石
人气
下界之星
最后登录
1970-1-1
注册时间
2015-4-19
查看详细资料
发表于 2015-12-24 23:20:40 | 显示全部楼层
风雪大池 发表于 2015-12-24 23:08
不好意思,应该是我没表达明白。
我现在的状况是只有OP可以创建商店,普通玩家创建不了。
但是我想让所有 ...

mangaddp builder 权限
输入这个给玩家对应的权限即可
除了刚才那条你还可以给予玩家quickshop.create.sell
quickshop.create.buy
这两个权限
回复

使用道具 举报

风雪大池 当前离线
积分
469
帖子
主题
精华
贡献
爱心
钻石
人气
下界之星
最后登录
1970-1-1
注册时间
2014-12-19
查看详细资料
 楼主| 发表于 2015-12-24 23:47:00 | 显示全部楼层
SS菜鸟君 发表于 2015-12-24 23:20
mangaddp builder 权限
输入这个给玩家对应的权限即可
除了刚才那条你还可以给予玩家quickshop.create.se ...

普通用户默认是Default组的吧。
我输入mangaddp Default quickshop.create
提示我设定成功
但是我的小号依然无法创建商店。
我再次输入上面的指令提示我The group already has direct access to that permission.
回复

使用道具 举报

574567812 当前离线
积分
534
帖子
主题
精华
贡献
爱心
钻石
人气
下界之星
最后登录
1970-1-1
注册时间
2015-9-7
查看详细资料
发表于 2015-12-25 02:43:33 | 显示全部楼层
风雪大池 发表于 2015-12-24 23:47
普通用户默认是Default组的吧。
我输入mangaddp Default quickshop.create
提示我设定成功

默认组是 builder,builder包括default的 所以你输入 /mangaddp  builder quickshop.create
回复

使用道具 举报

红菜头糕 当前离线
积分
7330
帖子
主题
精华
贡献
爱心
钻石
人气
下界之星
最后登录
1970-1-1
注册时间
2015-4-19
查看详细资料
发表于 2015-12-25 06:28:26 | 显示全部楼层
风雪大池 发表于 2015-12-24 23:47
普通用户默认是Default组的吧。
我输入mangaddp Default quickshop.create
提示我设定成功

玩家所在组是builder,给予builder
quickshop.create.sell
quickshop.create.buy
这两个权限玩家就可以自由创建出售和收购类型的商店
回复

使用道具 举报

风雪大池 当前离线
积分
469
帖子
主题
精华
贡献
爱心
钻石
人气
下界之星
最后登录
1970-1-1
注册时间
2014-12-19
查看详细资料
 楼主| 发表于 2015-12-25 10:19:32 | 显示全部楼层
574567812 发表于 2015-12-25 02:43
默认组是 builder,builder包括default的 所以你输入 /mangaddp  builder quickshop.create

嗯,这些都已经输入过了。
但还是没法创建商店。
把箱子放在地上之后手持商品左键没反应。什么提示都不出。
回复

使用道具 举报

风雪大池 当前离线
积分
469
帖子
主题
精华
贡献
爱心
钻石
人气
下界之星
最后登录
1970-1-1
注册时间
2014-12-19
查看详细资料
 楼主| 发表于 2015-12-25 10:28:26 | 显示全部楼层
SS菜鸟君 发表于 2015-12-25 06:28
玩家所在组是builder,给予builder
quickshop.create.sell
quickshop.create.buy

这些指令我都打过一遍了,再打一遍的时候就提示红字了。
然后放下箱子,手持商品左击箱子的时候不出任何提示。应该不是权限的问题?
回复

使用道具 举报

xRPQx 当前离线
积分
10158
帖子
主题
精华
贡献
爱心
钻石
人气
下界之星
最后登录
1970-1-1
注册时间
2014-8-13
查看详细资料
发表于 2015-12-25 12:25:56 | 显示全部楼层
所有权限节点:
quickshop.use                           
quickshop.create.sell                  
quickshop.create.buy      
输入
/mangaddp builder quickshop.use            
/mangaddp builder quickshop.create.sell   
/mangaddp builder quickshop.create.buy  

三个即可
   
回复

使用道具 举报

xqygng 当前离线
积分
1048
帖子
主题
精华
贡献
爱心
钻石
人气
下界之星
最后登录
1970-1-1
注册时间
2015-10-27
查看详细资料
发表于 2015-12-25 16:09:10 | 显示全部楼层
我好像成功了,但是还没测试
回复

使用道具 举报

滨海小树 当前离线
积分
552
帖子
主题
精华
贡献
爱心
钻石
人气
下界之星
最后登录
1970-1-1
注册时间
2015-7-14
查看详细资料
发表于 2022-4-7 10:45:12 | 显示全部楼层
不行,还是没有解决问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册(register)

本版积分规则

Archiver|小黑屋|Mcbbs.net ( 京ICP备15023768号-1 ) | 京公网安备 11010502037624号 | 手机版

GMT+8, 2022-7-20 15:40 , Processed in 0.049716 second(s), Total 24, Slave 22 queries, Release: Build.2022.05.30 1905, Gzip On, Redis On.

"Minecraft"以及"我的世界"为美国微软公司的商标 本站与微软公司没有从属关系

© 2010-2022 我的世界中文论坛 版权所有 本站内原创内容版权属于其原创作者,除作者或版规特别声明外未经许可不得转载