多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
``` name: '例子商店' #购买内部任意商品条件 pxtools的条件 https://www.kancloud.cn/qq245271830/pxpmc/2665014 condition: #购买内部任意商品触发的 pxtools事件 https://www.kancloud.cn/qq245271830/pxpmc/2665014 event: #商品列表 commoditys: #商品(不能重复,会被覆盖) 商品1: #开始时间 # 留空/删除节点 #不限时结束(默认) # 'type=hour' #每整点开始 # 'type=hour;min=30' #每小时30分钟开始 # 'type=day' #每天0点刷新 10个,并且针对每个玩家独立刷新 # 'type=day;hour=6;min=30' #每天6:30点开始 # 'type=week;week=1' #每周一 0点开始 # 'type=week;week=1;hour=6;min=30' #每周一 6:30分开始 # 'type=week;week=2' #每周二开始 # 'type=week;week=3' #每周三开始 # 'type=week;week=4' #每周四开始 # 'type=week;week=5' #每周五开始 # 'type=week;week=6' #每周六开始 # 'type=week;week=7' #每周日开始 # 'type=month;day=1' #每月1号开始 # 'type=month;day=1;hour=6;min=30' #每月1号6:30开始 # 'type=month_end;day=1' #每月末尾-1开始 如 1月有31天就是1月30号开始 # 'type=month_end;day=0' #每月末开始 如 1月有31天就是1月31号开始 # 'type=month_end;day=0;hour=6;min=30' #每月末开始 如 1月有31天就是1月31号6:30开始 # 'type=year;month=1;day=1;hour=6;min=30' #每年1月1号6:30分开始 # 'type=gangs' #每次帮派正常维护 需要PxGangs插件支持 https://www.kancloud.cn/qq245271830/pxpmc/2651165 start: '' #每天6:30开放 #结束时间 同上 end: '' #刷新时间 同上 (刷新购买数量/也可以理解为清空已购买数量) ref: 'type=gangs' #限购名称,一般用于限购显示,不限购时可不显示 rest_name: '帮派限购' #针对人群 # 'type=one' = 每个玩家(个人限购) (默认) # 'type=all' = 所有服务器玩家(全服限购) # 'type=gangs' = 帮派内所有玩家 需要PxGangs插件支持 https://www.kancloud.cn/qq245271830/pxpmc/2651165 # 'type=papi;papi=%player_level%' = 针对玩家的papi变量进行群分,相同的变量会分配成相应人群 crowd: 'type=gangs' #可购买数量 # 支持玩家papi变量,公式/函数 # -1为不限购 # 0 = 不能购买 # 如果crowd是gangs还支持帮派变量 amount: '99' #购买条件 pxtools https://www.kancloud.cn/qq245271830/pxpmc/2665014 condition: [] #购买触发的事件 pxtools https://www.kancloud.cn/qq245271830/pxpmc/2665014 event: [] #显示条件 pxtools https://www.kancloud.cn/qq245271830/pxpmc/2665014 show-condition: - 'gangsJoin' show-item: 'type=pr_equip;id=新手剑;quality=完美;template=商店模板' #货币和数量等 # type有如下: # money = 游戏币 # point = 点券 # pr物品等其他的查看wiki: http://wiki.pxpmc.com/2698380 或者 https://www.kancloud.cn/qq245271830/pxpmc/2698380 currency: # - 'type=pr_equip;id=新手剑;amount=5;error-msg={0}的数量不足{1}个' - 'type=count;note=副本积分;amount=500;show_name=副本积分;error-msg={0}不足{1}哦' #商品内容 content: - 'type=pr_equip;id=新手剑;quality=完美' #传递给显示面板的一些内容,萌芽的话就填写萌芽可用的参数 vars: 显示图标: 'true' 图标url: 'textures/item/other/cs69.png' 提示tips: '副本积分' 商品2: show-item: 'type=save_item;id=游戏币;show_name=银两' currency: - 'type=money;amount=5000;show_name=银两' content: - 'type=money;amount=5000;show_amount=5K' rest_name: '全服限购' amount: '99' crowd: 'type=all' vars: 显示图标: 'true' 图标url: 'textures/gui/pxrpg/yinliang.png' 提示tips: '银两' 商品3: show-item: 'type=save_item;id=游戏币;show_name=银两' currency: - 'type=point;amount=5000;show_name=金币' content: - 'type=money;amount=5000;show_amount=5K' rest_name: '限购' amount: '99' vars: 显示图标: 'true' 图标url: 'textures/gui/pxrpg/jinbi.png' 提示tips: '金币' #crowd: 'type=one' 商品4: show-item: 'type=save_item;id=游戏币;show_name=银两' currency: - 'type=money;amount=5000;show_name=银两' content: - 'type=money;amount=5000;show_amount=5K' ref: 'type=day' amount: '10' rest_name: '日限' vars: 显示图标: 'true' 图标url: 'textures/gui/pxrpg/yinliang.png' 提示tips: '银两' 商品5: show-item: 'type=save_item;id=游戏币;show_name=银两' currency: - 'type=money;amount=5000;show_name=银两' content: - 'type=money;amount=5000;show_amount=5K' amount: '99' rest_name: '周限' ref: 'type=week' vars: 显示图标: 'true' 图标url: 'textures/gui/pxrpg/yinliang.png' 提示tips: '银两' 商品6: show-item: 'type=save_item;id=游戏币;show_name=银两' currency: - 'type=money;amount=5000;show_name=银两' content: - 'type=money;amount=5000;show_amount=5K' amount: '99' rest_name: '月限' ref: 'type=month' vars: 显示图标: 'true' 图标url: 'textures/gui/pxrpg/yinliang.png' 提示tips: '银两' 商品7: show-item: 'type=save_item;id=游戏币;show_name=银两' currency: - 'type=money;amount=5000;show_name=银两' content: - 'type=money;amount=5000;show_amount=5K' rest_name: '年限' amount: '99' ref: 'type=year' vars: 显示图标: 'true' 图标url: 'textures/gui/pxrpg/yinliang.png' 提示tips: '银两' 商品9: show-item: 'type=save_item;id=游戏币;show_name=银两' currency: - 'type=money;amount=5000;show_name=银两' content: - 'type=money;amount=5000' ref: 'type=day' amount: '10' crowd: 'type=all' rest_name: '全服日限' vars: 显示图标: 'true' 图标url: 'textures/gui/pxrpg/yinliang.png' 提示tips: '银两' 商品10: show-item: 'type=save_item;id=游戏币;show_name=银两' currency: - 'type=count;note=自定义的;amount=500;show_name=自定义的;error-msg={0}不足{1}哦' content: - 'type=money;amount=5000;show_amount=5K' amount: '99' rest_name: '全服周限' crowd: 'type=all' ref: 'type=week' vars: 显示图标: 'true' 图标url: 'textures/item/other/id_1482.png' 提示tips: '自定义的' 商品11: show-item: 'type=save_item;id=游戏币;show_name=银两' currency: - 'type=count;note=打造积分;amount=500;show_name=打造积分;error-msg={0}不足{1}哦' content: - 'type=money;amount=5000;show_amount=5K' amount: '99' rest_name: '全服月限' crowd: 'type=all' ref: 'type=month' vars: 显示图标: 'true' 图标url: 'textures/item/other/id_2264.png' 提示tips: '打造积分' 商品8: show-item: 'type=save_item;id=游戏币;show_name=银两' currency: - 'type=count;note=种植积分;amount=500;show_name=种植积分;error-msg={0}不足{1}哦' content: - 'type=money;amount=5000;show_amount=5K' rest_name: '全服年限' amount: '99' crowd: 'type=all' ref: 'type=year' vars: 显示图标: 'true' 图标url: 'textures/item/other/id_2296.png' 提示tips: '种植积分' ```