Hey, i want to get a block/item from a name. EX: i have a string "air", i want to somehow get its id, "0"
Hm. You could create your own method for getting the string, by storing the information in an array in the plugin file, or in a json or yaml file. Then retrieve the string using the id(or an id and damage key). That may not be ideal for you, but that's the best alternative I can think of.