Code Monkey home page Code Monkey logo

backpacksplus's Introduction

Hey There πŸ‘‹

My name is A.J. I love many things, but programming has had a special place in my heart ever since a young age. Here is some info on me.

  • πŸ”­ I’m currently working on a couple of side projects: warframe-ruby and neow-browser.
  • 🌱 I’m currently searching for a Software Engineering position.
  • πŸ‘― I’m looking to collaborate on any of my projects, feel free to contribute!

About

A.J. Romaniello's Github Stats Top Langs

Websites

neow-browser hike-it-up-v2 twitter-clone tracker pollen-site

Projects

warframe-ruby palindrome_ext carbon_tools elem_info

Find Me

A.J. Romaniello | LinkedIn A.J. Romaniello | Dev.To

backpacksplus's People

Contributors

aj-rom avatar brainstone avatar dogeggwang avatar hugohfsouza avatar maulwurf38 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

backpacksplus's Issues

gold backpack texture

the gold backpack looks like a compass. The textures for the leather and diamond ones look like backpacks.

Permissions

I have the plug-in installed properly and I can use it. But the other people on the server can't create or use. I looked up the section on wiki under permissions but I don't know where/how to enter this command ---> backpack.<craft/use>.*

I am obviously new to this and would love to use the plug-in on my server. Please help. thanks

Use mojang-mappings for Reflection

With the update to 1.17 classes used for reflection were obfuscated, read more on this here.

The issue is that our reflection classes (1.16 and below) rely on the mapped names spigot provided for us, for example ItemStack which will now be an obfuscated form of a specific id of the nms copy. You can read more on the differences here.

1.17 will not be able to work without this being updated

Utilizing the mojang mappings and then forcing maven to rename on compile is most likely the best route to take.

This effects our DisplayItemHelper as we are using the names NBT components when they need to be converted to the obfuscated form.

Add More Languages

The Overview

Currently BackPacks+ supports 6 languages fully.

I would love to get some community contribution to create a new file within this directory, copying the format as follows.

Example

Here is the en.yml for reference:

# English translation file
General:
  Permission: "&cYou do not have permission to use this command!"
  CraftPerm: "&cYou do not have permission to craft this backpack!"
  NoRenamePerm: "&cYou are not allowed to rename backpacks!"
  Use: "&cYou do not have permission to use this backpack!"
  Offline-Player: "&e%player% &ccould not be found!!"
  Reload: "&8[&cBack&ePacks&b+&8] &aYou have reloaded the plugin!"
  BadArgs: "&cIncorrect arguments! &eType &7/bpp help &efor help."
  Console: "&8[&cBack&ePacks&b+&8] &cYou must be a player to use this command!"
  NotFound: "&e%backpack% &cdoes not exist."
  OverLimit: "&7Removed &c%removed% backpacks &7because you are only allowed to carry &e%limit% &7at once."
BackPack:
  ItemNotAllowed: "%backpack% &cdoes not let you store &e%item% &cinside."
  OnCraft:
    - "&8[&a+&8] &aYou have crafted a %backpack%"
  OnGive: "&7You have given &e%player% &7- &a%amt%x %backpack%"
  OnReceive: "&7You have been given &7- &a%amt%x %backpack%"
  Recipe-View:
    Header:
      - ""
      - "&eHere is a list of current &cBackPack &erecipes:"
      - " &7Hover over to see crafting recipes!"
    Body: " &8[&a+&8]&7 &e%backpack%"
    Footer:
      - ""
Help:
  - ""
  - "&7&m                  &r &8[&cBack&ePacks&b+&8] &7&m                "
  - " &e/bpp &8 - &7List all accessible backpacks."
  - " &e/bpp &ahelp &8- &7Shows this page."
  - " &e/bpp &agive &7<&cBackPack&7> <&cPlayer&7> [&camt&7]"
  - "   &8- &7Give the player the specified backpack"
  - " &e/bpp &areload &8- &7Reloads the plugin."
  - "&7&m                              

Contributing

To contribute, clone this project or simply just create a new file in the lang directory with the associated langauges code. You can find a good list to conform to here.

Don’t Allow BackPacks to be worn on head

Disable backpacks to be wearable on the head. Should be created under a new listener and will have to check inventory click actions.

This will be a pain to build a work around for creative mode but survival should be easy enough.

What am I doing wrong? t

tried adding a new backpack with my friends name, the plugin worked before I messed around the config. I tried to add a new backpack through the config and now when I do /backpack the recipes arent there and I cant craft any backpack. Ill type the code and I would really wanna know what I did wrong.

BackPacks+ by CoachL_ck

Information: https://github.com/CoachLuck/BackPacksPlus

PLAYER_HEAD Textures: https://minecraft-heads.com/

Please do not change Config-Version

To add backpacks just copy a section, for example "BackPacks.Basic" or "BackPacks.Advanced"

Then paste at the bottom, and rename to "BackPacks.NewName"

For example:

BackPacks:

Basic:

Name: "Some Name"

NewName:

Name: "Some Name"

Config-Version: 2
Check-For-Update: true
General:
BackPackLimiter:
Enabled: false
Repeat: 20
BackPacks:
Basic:
Name: "&c&lBackPack+"
Title: "&e&lBackPack"
Material: "PLAYER_HEAD"
Texture: "http://textures.minecraft.net/texture/8351e505989838e27287e7afbc7f97e796cab5f3598a76160c131c940d0c5"
CustomData:
Lore:
- "&8&m "
- " &7Click me to open this &dBackPack"
- "&8&m "
Enchanted: true
Size: 9
Recipe:
Shape:
- "LLL"
- "LCL"
- "LLL"
Materials:
L:
Material: "LEATHER"
C:
Material: "CHEST"
Advanced:
Name: "&e&lAdvanced &c&lBackPack+"
Title: "&e&lAdvanced&c&lBackPack"
Material: "CLOCK"
Texture: ""
CustomData:
Lore:
- "&8&m "
- " &7Click me to open this &dBackPack"
- "&8&m "
Enchanted: true
Size: 18
Recipe:
Shape:
- "GGG"
- "GCG"
- "GGG"
Materials:
G:
Material: "GOLD_BLOCK"
C:
Material: "CHEST"
Mega:
Name: "&b&lMega &c&lBackPack+"
Title: "&b&lMega&c&lBackPack"
Material: "PLAYER_HEAD"
Texture: "http://textures.minecraft.net/texture/df70fab3246fe027ce0bba885a73c6e82d8ff8f358231e8461f956560cfa58f"
CustomData:
Lore:
- "&8&m "
- " &7Click me to open this &dBackPack"
- "&8&m "
Enchanted: true
Size: 27
Recipe:
Shape:
- "DDD"
- "DCD"
- "DDD"
Materials:
D:
Material: "DIAMOND_BLOCK"
C:
Material: "CHEST"
Mostafa:
Name: "&2&lMostafa &c&lBackPack+"
Title: "&2&lMostafa &c&lBackPack"
Material: "PLAYER_HEAD"
Texture: "http://textures.minecraft.net/texture/a87fdf4587a6449bfc8be33ab2e938e36bf05e40f6faa277d71b50bcb0ea6838"
CustomData:
Lore:
- "&8&m "
- " &7Click me to open this &dBackPack"
- "&8&m "
Enchanted: true
Size: 4
Recipe:
Shape:
- "KKK"
- "KCK"
- "KKK"
Materials:
K:
Material: "CACTUS"
C:
Material: "CHEST"

BlackList/WhiteList override

If a user drags a blacklisted item over an allowed item, it can be added to their inventory. This should NOT be allowed.

My_Movie_18.mov

Null Pointer Exception on EnderpackInteraction

Here is the console error:

[20:30:41] [Server thread/ERROR]: Could not pass event InventoryClickEvent to BackPacksPlus v1.2.0
java.lang.NullPointerException: null
at io.github.coachluck.backpacksplus.api.BackPackUtil.getBackPackFromItem(BackPackUtil.java:138) ~[?:?]
at io.github.coachluck.backpacksplus.listeners.BackPackUseListener.getCurrentBackPack(BackPackUseListener.java:179) ~[?:?]
at io.github.coachluck.backpacksplus.listeners.BackPackUseListener.lockInv(BackPackUseListener.java:166) ~[?:?]
at io.github.coachluck.backpacksplus.listeners.BackPackUseListener.onEndChestOpen(BackPackUseListener.java:108) ~[?:?]

Currently we do not know of a way to reproduce this issue, if you have found a way please report it under this thread.

This could have to do with how the BackPackUtil checks for the backpack from the item.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.