Thutmose / ThutEssentials

Essentials mod for Forge
7 stars 6 forks source link

Is there a Thut wiki? #59

Open Wey2shop opened 5 years ago

Wey2shop commented 5 years ago

Hi, Is there a Wiki for ThutEssentials? I'm having an issue with the kits.xml file, Well Setting up kits Altogether really. If you could provide me with an example file, so I can learn from Would be greatly appreciated. Code below is the Default kits.xml `

` What is the structure to set up a kit for example, If i wanted to do; ./kit basic & ./kit advanced How do i configure the file? Thank's in advanced and Keep up the Great work!!

Thutmose commented 5 years ago

Noone has written the wiki for the mod yet, currently just has the default front page :(

for an example of kits, here is what I am using on my server:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Kits>
    <Kit name="Basic" cooldown="96000" >
        <Item id="minecraft:cooked_beef" n="16"/>
        <Item id="minecraft:stone_axe" n="1"/>
        <Item id="minecraft:stone_shovel" n="1"/>
        <Item id="minecraft:stone_pickaxe" n="1"/>
        <Item id="minecraft:stone_hoe" n="1"/>
    </Kit>
    <Kit name="Build_Supplies" cooldown="96000" >
        <Item id="minecraft:cobblestone" n="64"/>
        <Item id="minecraft:log" n="64"/>
        <Item id="minecraft:glass" n="64"/>
    </Kit>
</Kits>
Wey2shop commented 5 years ago

Thanks that's Brilliant, I have another problem now though unfortunately, Players that are in my Permissions group "members" have permission to use command /kit and /kits But when they use /kits They see an Empty Kits list. And are unable to claim the kits we just Created. However, Players in my Admin Permissions group are able to claim kits just fine with /kit and see all the kits available with /kits

Is there an option somewhere that I am missing? Or a perm I need to set somewhere to enable the group to access them? Thanks for the Quick Response and for all your Help =]

Resolved

Fixed this issue by Setting "all_non_op": true, for the group in Thutperms.json file

Quick question though whilst I am here, Can I award Currency Via kit? i.e /pay Also, How do players Earn money to increase there /bal? Can they Earn it by killing mobs or players (PVP)?

Thutmose commented 5 years ago

For kit permissions:

thutessentials.kit.default for the result from just a blank /kit command. thutessentials.kit. for a named kit, so like thutessentials.kit.Build_Supplies for the build supplies kit above.

Currently, there isn't a way to add currency from a kit, but that could probably be implemented. The only ways for currency to be generated are via the /pay command from the server side, or via an infinite shop that buys items