Recycle

Recycle crafted items to base resources

Total Downloads: 3,965 - First Release: Aug 11, 2015 - Last Update: Apr 1, 2018

5/5, 12 likes
  1. Wulf

    Wulf Community Admin

    Sorry they got missed. I try to reply when able, but I'm not as knowledgeable about it as the other developers. I pointed out your post to them though.
     
  2. Not blaming you, just saying I've done what I could :)

    The config issue, I can save the structure alright it's reading it that doesn't work. All i get is an object that can't be cast or assigned to my config class. I can parse the .toString of it but its a huge mess! Wish those two functions I used to save/load would work with the base config
     
  3. if you look at your commands:
    /moe
    /tradelists

    /showlist xxx
    /linkbox xxxx
    /unlinkbox
    /recyclebox


    there should be a prefix and short form so all the commands are not in conflict with another mod. /Showlist could be part of another mod as it is generic.

    look at Maze all the commands are Maze, Maze_list, Maze_rm, etc. So maybe try:

    /moe
    /moe_tl
    /moe_sl
    /moe_lb
    /moe_ub
    /moe_rb

    just a thought :)
     
  4. Alright I'll do that for the next version
     
  5. so my players cant seem to get /recyclebox to unlink
     
  6. they using /unlinkbox and then opening the box?
     
  7. having problems...

    I moded the json file to trade an AK for 100 BP frags and visa versa. but I get a message "This Moegic Tradebox does not have anything for sale that is worth 1 X Assult Rifle"

    yes when I open the box it tells me "You found a Moegic Tradebox! selling blueprint_fragmentx100 (cost rifle.akx1)
    [DOUBLEPOST=1439668590][/DOUBLEPOST]yes I am the Admin (Authlevel 2)
     
  8. The trade lists use long english names, so you need to put "Assault Rifle" not "rifle.ak" in the config =) Same with blueprint frags, use the long name.
     
  9. great I will go fix/test that. BTW: the list has a name at the top and bottom "list1" and "list1" when I create or change an existing list do I need to change both the names to match?
    [DOUBLEPOST=1439673252][/DOUBLEPOST]BUG: typing oxide.reload MoegicBox
    RESULT: causes all in-game boxes to get reset to normal boxes.

    ISSUE: adding or changing the json file requires an oxide.reload for it to take effect (right?) so this is a pain in the @$$
     
  10. Yes, you change both the names.......

    Oxide.reload should work? I didn't test with boxes associated with lists though I'll need to check that. Recyclers are no problem for sure I use them a lot on my server right now...

    And yes changing the config file requires a plugin reload.
     
  11. FEATURE request: Permissions for boxes.

    Take a look at the portals.json file. you have a permissions option per portal

    this would be a great feature per box so I can have VIP or Clan boxes. Basically a permission system makes these a lot more useful.

    something like this. with permission (Sorry syntax butchered)

    Code:
    "list1": {
          "Offers": [
            {
              "Price": {
                "DisplayName": "Assault Rifle",
                "Amount": 1
              },
              "Reward": [
                {
                  "DisplayName": "Blueprint Fragment",
                  "Amount": 100
                }
              ]
            }
            "Permission": "Moegic.vip"
            "Permission": "Moegic.use"
            "Permission": "Moegic.RedClan"
              ]
            }
          ],
          "Listname": "list1"
        },
    
     
  12. Will consider! Btw my description was wrong, recycling a BP does not give back the item but the mats of the item. I experienced with giving bp frags for a bit but it was prone to exploits, i was giving back 20% bp but players started recycling stacks of bullets for cheap bp frags.
     
  13. Can I turn off allowing users to create recycle boxes?
     
  14. Not right now but you can set the price to 1000 blood or something ridiculous to get around that for now.
     
  15. what is the format/syntax for "RecyclerPrice": {} ?
     
  16. Don't remember offhand and im not home check the default config
     
  17. that was from the default config :)

    Anone have RecclerPrice with a cost setup who can share the code?
     
  18. Ill post when i get home
    [DOUBLEPOST=1439791068,1439772640][/DOUBLEPOST]
    Code:
      "RecyclerPrice": {
        "Wood": 100,
        "Metal Fragments": 100
      }
    
    You can add as many as you want
     
  19. Hi! Your plugin is really great.
    I just have one question for you :
    Is it possible to use the same money (let's say HQ metal) for every trades ? Like someone wants to buy guns, or c4, or even wood or stone, can we do that the money for the trade is HQ metal only ? (& then, can we set the "price" of everything in HQ metal, dependig on the quantity, or on other criteria ??)
    Once again you've got a good idea with your moegicbox plugin so, THANKS !!
     
  20. I don't see why not. the key is the box won't know the difference between 100 and 500 for an item. at least I don't think it will. so you might need to setup different boxes for each. one for 100 HQM one for 500 HQM, etc.

    just a thought.
    [DOUBLEPOST=1439828836,1439815894][/DOUBLEPOST]FYI possible error on an oxide reload:
    oxide.reload MoegicBox
    [Oxide] 11:24 AM [Info] MoegicBox was compiled successfully in 1460ms
    [Oxide] 11:24 AM [Info] Unloaded plugin MoegicBox v1.0.0 by Deicide666ra
    [Oxide] 11:24 AM [Warning] A plugin has polluted the global namespace by defining MoegicExtensions: MoegicBox
    [Oxide] 11:24 AM [Info] Loaded plugin MoegicBox v1.0.0 by Deicide666ra
    [Oxide] 11:24 AM [Info] [MoegicBox] Refund ratio is: 0.5
    [DOUBLEPOST=1439828863][/DOUBLEPOST]my plugin list:
    oxide.plugins
    [Oxide] Listing 36 plugins:
    01 "Auth Level" (0.2.3) by Wulfspider
    02 "Enhanced Ban System" (2.3.3) by #Domestos
    03 "Heal, Feed, and Cure" (1.2.2) by Wulfspider
    04 "Helptext" (1.4.0) by #Domestos
    05 "Teleportation System" (1.4.17) by Mughisi
    06 "Updater" (0.4.6) by Wulf / Luke Spragg
    07 "Notifier" (2.11.1) by SkinN
    08 "Rank-ME" (1.0.1) by SkinN
    09 "Rust:IO for Oxide" (2.5.0) by playrust.io / dcode
    10 "AirdropControl" (1.1.6) by Reneb
    11 "BetterLoot" (1.9.7) by playrust.io / dcode
    12 "BoxLooters" (0.2.7) by 4seti [Lunatiq] for Rust Planet
    13 "Build" (1.0.25) by Reneb
    14 "Building Owners" (2.1.2) by Reneb
    15 "Crafting Controller" (2.4.2) by Mughisi
    16 "Death Notes" (3.1.1) by LaserHydra (Original by SkinN)
    17 "Explosion Tracker" (0.5.0) by PaiN
    18 "Gathering Manager" (2.2.1) by Mughisi
    19 "Give" (2.1.2) by Reneb
    20 "Godmode" (2.0.0) by Mughisi
    21 "HumanNPC" (0.1.15) by Reneb
    22 "Kits" (2.1.1) by Reneb
    23 "MazeGen" (0.1.4) by 4seti [Lunatiq] for Rust Planet
    24 "Minstrel" (0.0.7) by 4seti [Lunatiq] for Rust Planet
    25 "MoegicBox" (1.0.0) by Deicide666ra
    26 "NightLantern" (1.1.2) by d3nnib
    27 "PathFinding" (0.0.8) by Reneb
    28 "Portals" (1.3.0) by LaserHydra
    29 "Prod" (2.1.3) by Reneb
    30 "Rain of Fire" (0.1.2) by emu
    31 "RemoverTool" (2.2.18) by Reneb & Mughisi & Cryptoc
    32 "Sign Artist" (0.2.3) by Bombardir
    33 "SkipNightVote" (1.1.0) by Mordenak
    34 "Stack Sizes" (1.1.4) by Looking For Gamers / ColonelAngus
    35 "Waypoints" (1.0.1) by Reneb
    36 "ZoneManager" (2.0.29) by Reneb