Surprise! We've been running on hardware provided by BuyVM for a few months and wanted to show them a little appreciation.
Running a paste site comes with unique challenges, ones that aren't always obvious and hard to control. As such, BuyVM offered us a home where we could worry less about the hosting side of things and focus on maintaining a clean and useful service! Go check them out and show them some love!
Submitted on December 15, 2014 at 07:34 AM

Section 1 (Java)

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412
package net.ultibyte.UltiMarket1;

import org.bukkit.plugin.java.*;
import java.util.logging.*;
import net.milkbowl.vault.economy.*;
import net.milkbowl.vault.permission.*;
import java.io.*;
import org.bukkit.plugin.*;
import java.math.*;
import org.bukkit.*;
import org.bukkit.entity.*;
import org.bukkit.inventory.*;
import java.util.*;
import org.bukkit.command.*;

public final class UltiMarket extends JavaPlugin
{
    private static final Logger log;
    public static Economy econ;
    public static Permission perms;
    boolean didThingsOccur;
    
    static {
        log = Logger.getLogger("Minecraft");
        UltiMarket.econ = null;
        UltiMarket.perms = null;
    }
    
    private void loadConfig() {
        this.getConfig().options().copyDefaults(true);
        this.saveConfig();
    }
    
    public void onEnable() {
        this.getLogger().info("Yay! UltiMarket hasn't imploded on startup! =D");
        if (!this.setupEconomy()) {
            UltiMarket.log.severe(String.format("UltiMarket has been disabled because you forgot to put Vault in! It's useless without it :(", this.getDescription().getName()));
            this.getServer().getPluginManager().disablePlugin((Plugin)this);
            return;
        }
        this.loadConfig();
        if (this.getConfig().getBoolean("announcemostleastexpensiveitem")) {
            this.ExpensiveClock();
        }
        if (this.getConfig().getBoolean("randompricechanges")) {
            this.priceDropClock();
        }
        try {
            final MetricsLite metrics = new MetricsLite((Plugin)this);
            metrics.start();
        }
        catch (IOException ex) {}
    }
    
    public void onDisable() {
        this.getLogger().info("*UltiMarket waves as it fades off your server...*");
    }
    
    private boolean setupEconomy() {
        if (this.getServer().getPluginManager().getPlugin("Vault") == null) {
            return false;
        }
        final RegisteredServiceProvider<Economy> rsp = (RegisteredServiceProvider<Economy>)this.getServer().getServicesManager().getRegistration((Class)Economy.class);
        if (rsp == null) {
            return false;
        }
        UltiMarket.econ = (Economy)rsp.getProvider();
        return UltiMarket.econ != null;
    }
    
    private void ExpensiveClock() {
        this.getServer().getScheduler().scheduleSyncDelayedTask((Plugin)this, (Runnable)new Runnable() {
            @Override
            public void run() {
                UltiMarket.this.announceMostExpensive();
                UltiMarket.this.CheapClock();
            }
        }, this.getConfig().getLong("amleifrequency") * 60L * 20L);
    }
    
    private void CheapClock() {
        this.getServer().getScheduler().scheduleSyncDelayedTask((Plugin)this, (Runnable)new Runnable() {
            @Override
            public void run() {
                UltiMarket.this.announceLeastExpensive();
                UltiMarket.this.ExpensiveClock();
            }
        }, this.getConfig().getLong("amleifrequency") * 60L * 20L);
    }
    
    private void priceDropClock() {
        this.getServer().getScheduler().scheduleSyncDelayedTask((Plugin)this, (Runnable)new Runnable() {
            @Override
            public void run() {
                if (MethodsForReference.main(2, 1) == 1) {
                    UltiMarket.this.priceDropper();
                    UltiMarket.this.priceDropClock();
                }
                else {
                    UltiMarket.this.priceRaiser();
                    UltiMarket.this.priceDropClock();
                }
            }
        }, (long)MethodsForReference.main(144000, 20));
    }
    
    public void announceMostExpensive() {
        final ArrayList<Double> originalPriceList = this.listOfItemPrices();
        ArrayList<Double> priceList = this.listOfItemPrices();
        ArrayList<String> nameList = this.listItemConfigNames();
        priceList = MethodsForReference.priceReturningBubblesortHighest(originalPriceList, nameList);
        nameList = MethodsForReference.nameReturningBubblesortHighest(originalPriceList, nameList);
        this.getServer().broadcastMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The most " + ChatColor.GOLD + "expensive " + ChatColor.YELLOW + "item " + ChatColor.GREEN + "on the " + ChatColor.AQUA + "market " + ChatColor.GREEN + "at the minute is: " + ChatColor.YELLOW + nameList.get(0) + ChatColor.GREEN + " at " + ChatColor.GOLD + priceList.get(0) + ChatColor.AQUA + " " + UltiMarket.econ.currencyNamePlural() + ChatColor.GREEN + "!");
    }
    
    private void announceLeastExpensive() {
        final ArrayList<Double> originalPriceList = this.listOfItemPrices();
        ArrayList<Double> priceList = this.listOfItemPrices();
        ArrayList<String> nameList = this.listItemConfigNames();
        priceList = MethodsForReference.priceReturningBubblesortLowest(originalPriceList, nameList);
        nameList = MethodsForReference.nameReturningBubblesortLowest(originalPriceList, nameList);
        this.getServer().broadcastMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The least " + ChatColor.GOLD + "expensive " + ChatColor.YELLOW + "item " + ChatColor.GREEN + "on the " + ChatColor.AQUA + "market " + ChatColor.GREEN + "at the minute is: " + ChatColor.YELLOW + nameList.get(0) + ChatColor.GREEN + " at " + ChatColor.GOLD + priceList.get(0) + ChatColor.AQUA + " " + UltiMarket.econ.currencyNamePlural() + ChatColor.GREEN + "!");
    }
    
    private void priceDropper() {
        final ArrayList<Double> priceList = this.listOfItemPrices();
        final ArrayList<String> nameList = this.listItemConfigNames();
        final int selectedItemListIndex = MethodsForReference.main(0, priceList.size());
        final String configName = nameList.get(selectedItemListIndex);
        final int lowerPercentageBound = this.getConfig().getInt("lowestpricechangepercentage");
        final int upperPercentageBound = this.getConfig().getInt("highestpricechangepercentage");
        final int intPriceDropPercentage = MethodsForReference.main(lowerPercentageBound, upperPercentageBound);
        final double priceDropPercentage = intPriceDropPercentage;
        final double priceDropFraction = (100.0 - priceDropPercentage) / 100.0;
        double price = this.getConfig().getDouble("items." + configName + ".actualprice");
        double originalPrice = this.getConfig().getDouble("items." + configName + ".price");
        double newPrice = price * priceDropFraction;
        double priceDropPercentageDouble = 100.0 - priceDropFraction * 100.0;
        final BigDecimal bigDec1 = new BigDecimal(priceDropPercentageDouble).setScale(2, RoundingMode.HALF_UP);
        priceDropPercentageDouble = bigDec1.doubleValue();
        final int priceDropPercentageToAnnounce = (int)priceDropPercentageDouble;
        final BigDecimal bigDec2 = new BigDecimal(newPrice).setScale(2, RoundingMode.HALF_UP);
        newPrice = bigDec2.doubleValue();
        this.getConfig().set("items." + configName + ".actualprice", (Object)newPrice);
        if (this.getConfig().getDouble("items." + configName + ".actualprice") < this.getConfig().getDouble("minimumprice")) {
            this.getConfig().set("items." + configName + ".price", (Object)this.getConfig().getDouble("minimumprice"));
        }
        else {
            this.getConfig().set("items." + configName + ".price", (Object)this.getConfig().getDouble("items." + configName + ".actualprice"));
        }
        this.saveConfig();
        price = this.getConfig().getDouble("items." + configName + ".price");
        final BigDecimal bd = new BigDecimal(originalPrice).setScale(2, RoundingMode.HALF_UP);
        originalPrice = bd.doubleValue();
        this.getServer().broadcastMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.YELLOW + configName + ChatColor.GREEN + "'s price has just " + ChatColor.ITALIC + "dropped" + ChatColor.GREEN + " by " + ChatColor.GOLD + priceDropPercentageToAnnounce + "%" + ChatColor.GREEN + " from " + originalPrice + "!");
        this.getServer().broadcastMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.YELLOW + configName + ChatColor.GREEN + " is now worth " + ChatColor.GOLD + price + " " + ChatColor.AQUA + UltiMarket.econ.currencyNamePlural() + ChatColor.GREEN + "!");
    }
    
    private void priceRaiser() {
        final ArrayList<Double> priceList = this.listOfItemPrices();
        final ArrayList<String> nameList = this.listItemConfigNames();
        final int selectedItemListIndex = MethodsForReference.main(0, priceList.size());
        final String configName = nameList.get(selectedItemListIndex);
        final int lowerPercentageBound = this.getConfig().getInt("lowestpricechangepercentage");
        final int upperPercentageBound = this.getConfig().getInt("highestpricechangepercentage");
        final int intPriceRaisePercentage = MethodsForReference.main(lowerPercentageBound, upperPercentageBound);
        final double priceRaisePercentage = intPriceRaisePercentage;
        final double priceRaiseFraction = (100.0 + priceRaisePercentage) / 100.0;
        double price = this.getConfig().getDouble("items." + configName + ".actualprice");
        double originalPrice = this.getConfig().getDouble("items." + configName + ".price");
        double newPrice = originalPrice * priceRaiseFraction;
        double priceRaisePercentageDouble = 100.0 * (priceRaiseFraction - 1.0);
        final BigDecimal bigDec1 = new BigDecimal(priceRaisePercentageDouble).setScale(2, RoundingMode.HALF_UP);
        priceRaisePercentageDouble = bigDec1.doubleValue();
        final int priceRaisePercentageToAnnounce = (int)priceRaisePercentageDouble;
        final BigDecimal bigDec2 = new BigDecimal(newPrice).setScale(2, RoundingMode.HALF_UP);
        newPrice = bigDec2.doubleValue();
        this.getConfig().set("items." + configName + ".actualprice", (Object)newPrice);
        if (this.getConfig().getDouble("items." + configName + ".actualprice") < this.getConfig().getDouble("minimumprice")) {
            this.getConfig().set("items." + configName + ".price", (Object)this.getConfig().getDouble("minimumprice"));
        }
        else {
            this.getConfig().set("items." + configName + ".price", (Object)this.getConfig().getDouble("items." + configName + ".actualprice"));
        }
        this.saveConfig();
        price = this.getConfig().getDouble("items." + configName + ".price");
        final BigDecimal bd = new BigDecimal(originalPrice).setScale(2, RoundingMode.HALF_UP);
        originalPrice = bd.doubleValue();
        this.getServer().broadcastMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.YELLOW + configName + ChatColor.GREEN + "'s price has just " + ChatColor.ITALIC + "risen" + ChatColor.GREEN + " by " + ChatColor.GOLD + priceRaisePercentageToAnnounce + "%" + ChatColor.GREEN + " from " + originalPrice + "!");
        this.getServer().broadcastMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.YELLOW + configName + ChatColor.GREEN + " is now worth " + ChatColor.GOLD + price + " " + ChatColor.AQUA + UltiMarket.econ.currencyNamePlural() + ChatColor.GREEN + "!");
    }
    
    private boolean isItDurable(final Material material) {
        return material == Material.IRON_SPADE || material == Material.IRON_PICKAXE || material == Material.IRON_AXE || material == Material.BOW || material == Material.IRON_SWORD || material == Material.WOOD_SWORD || material == Material.WOOD_SPADE || material == Material.WOOD_PICKAXE || material == Material.WOOD_AXE || material == Material.STONE_SWORD || material == Material.STONE_SPADE || material == Material.STONE_PICKAXE || material == Material.STONE_AXE || material == Material.DIAMOND_SWORD || material == Material.DIAMOND_SPADE || material == Material.DIAMOND_PICKAXE || material == Material.DIAMOND_AXE || material == Material.GOLD_SWORD || material == Material.GOLD_SPADE || material == Material.GOLD_PICKAXE || material == Material.GOLD_AXE || material == Material.WOOD_HOE || material == Material.STONE_HOE || material == Material.IRON_HOE || material == Material.DIAMOND_HOE || material == Material.GOLD_HOE || material == Material.LEATHER_HELMET || material == Material.LEATHER_CHESTPLATE || material == Material.LEATHER_LEGGINGS || material == Material.LEATHER_BOOTS || material == Material.CHAINMAIL_HELMET || material == Material.CHAINMAIL_CHESTPLATE || material == Material.CHAINMAIL_BOOTS || material == Material.IRON_HELMET || material == Material.IRON_CHESTPLATE || material == Material.IRON_LEGGINGS || material == Material.IRON_BOOTS || material == Material.DIAMOND_HELMET || material == Material.DIAMOND_CHESTPLATE || material == Material.DIAMOND_LEGGINGS || material == Material.DIAMOND_BOOTS || material == Material.GOLD_HELMET || material == Material.GOLD_CHESTPLATE || material == Material.GOLD_LEGGINGS || material == Material.GOLD_BOOTS || material == Material.FLINT_AND_STEEL || material == Material.IRON_PICKAXE || material == Material.IRON_PICKAXE || material == Material.IRON_PICKAXE;
    }
    
    private ArrayList<String> listItemConfigNames() {
        final ArrayList<String> itemNames = new ArrayList<String>();
        if (!this.getConfig().getBoolean("items.stone.blacklisted")) {
            itemNames.add("stone");
        }
        if (!this.getConfig().getBoolean("items.dirt.blacklisted")) {
            itemNames.add("dirt");
        }
        if (!this.getConfig().getBoolean("items.gravel.blacklisted")) {
            itemNames.add("gravel");
        }
        if (!this.getConfig().getBoolean("items.sand.blacklisted")) {
            itemNames.add("sand");
        }
        if (!this.getConfig().getBoolean("items.coal.blacklisted")) {
            itemNames.add("coal");
        }
        if (!this.getConfig().getBoolean("items.grassblock.blacklisted")) {
            itemNames.add("grassblock");
        }
        if (!this.getConfig().getBoolean("items.iron.blacklisted")) {
            itemNames.add("iron");
        }
        if (!this.getConfig().getBoolean("items.snowball.blacklisted")) {
            itemNames.add("snowball");
        }
        if (!this.getConfig().getBoolean("items.redstone.blacklisted")) {
            itemNames.add("redstone");
        }
        if (!this.getConfig().getBoolean("items.fence.blacklisted")) {
            itemNames.add("fence");
        }
        if (!this.getConfig().getBoolean("items.gold.blacklisted")) {
            itemNames.add("gold");
        }
        if (!this.getConfig().getBoolean("items.ice.blacklisted")) {
            itemNames.add("ice");
        }
        if (!this.getConfig().getBoolean("items.vine.blacklisted")) {
            itemNames.add("vine");
        }
        if (!this.getConfig().getBoolean("items.lapislazuli.blacklisted")) {
            itemNames.add("lapislazuli");
        }
        if (!this.getConfig().getBoolean("items.diamond.blacklisted")) {
            itemNames.add("diamond");
        }
        if (!this.getConfig().getBoolean("items.web.blacklisted")) {
            itemNames.add("web");
        }
        if (!this.getConfig().getBoolean("items.cobblestone.blacklisted")) {
            itemNames.add("cobblestone");
        }
        if (!this.getConfig().getBoolean("items.obsidian.blacklisted")) {
            itemNames.add("obsidian");
        }
        if (!this.getConfig().getBoolean("items.rail.blacklisted")) {
            itemNames.add("rail");
        }
        if (!this.getConfig().getBoolean("items.mossycobblestone.blacklisted")) {
            itemNames.add("mossycobblestone");
        }
        if (!this.getConfig().getBoolean("items.fern.blacklisted")) {
            itemNames.add("fern");
        }
        if (!this.getConfig().getBoolean("items.mycelium.blacklisted")) {
            itemNames.add("mycelium");
        }
        if (!this.getConfig().getBoolean("items.yellowflower.blacklisted")) {
            itemNames.add("yellowflower");
        }
        if (!this.getConfig().getBoolean("items.emerald.blacklisted")) {
            itemNames.add("emerald");
        }
        if (!this.getConfig().getBoolean("items.lilypad.blacklisted")) {
            itemNames.add("lilypad");
        }
        if (!this.getConfig().getBoolean("items.brownmushroomblock.blacklisted")) {
            itemNames.add("brownmushroomblock");
        }
        if (!this.getConfig().getBoolean("items.ironbars.blacklisted")) {
            itemNames.add("ironbars");
        }
        if (!this.getConfig().getBoolean("items.torch.blacklisted")) {
            itemNames.add("torch");
        }
        if (!this.getConfig().getBoolean("items.rose.blacklisted")) {
            itemNames.add("rose");
        }
        if (!this.getConfig().getBoolean("items.redmushroomblock.blacklisted")) {
            itemNames.add("redmushroomblock");
        }
        if (!this.getConfig().getBoolean("items.cactus.blacklisted")) {
            itemNames.add("cactus");
        }
        if (!this.getConfig().getBoolean("items.mobspawner.blacklisted")) {
            itemNames.add("mobspawner");
        }
        if (!this.getConfig().getBoolean("items.sugarcane.blacklisted")) {
            itemNames.add("sugarcane");
        }
        if (!this.getConfig().getBoolean("items.sign.blacklisted")) {
            itemNames.add("sign");
        }
        if (!this.getConfig().getBoolean("items.glass.blacklisted")) {
            itemNames.add("glass");
        }
        if (!this.getConfig().getBoolean("items.chest.blacklisted")) {
            itemNames.add("chest");
        }
        if (!this.getConfig().getBoolean("items.farmland.blacklisted")) {
            itemNames.add("farmland");
        }
        if (!this.getConfig().getBoolean("items.brownmushroomtopblock.blacklisted")) {
            itemNames.add("brownmushroomtopblock");
        }
        if (!this.getConfig().getBoolean("items.glasspane.blacklisted")) {
            itemNames.add("glasspane");
        }
        if (!this.getConfig().getBoolean("items.ladder.blacklisted")) {
            itemNames.add("ladder");
        }
        if (!this.getConfig().getBoolean("items.glowstone.blacklisted")) {
            itemNames.add("glowstone");
        }
        if (!this.getConfig().getBoolean("items.netherrack.blacklisted")) {
            itemNames.add("netherrack");
        }
        if (!this.getConfig().getBoolean("items.soulsand.blacklisted")) {
            itemNames.add("soulsand");
        }
        if (!this.getConfig().getBoolean("items.stonebrickstairs.blacklisted")) {
            itemNames.add("stonebrickstairs");
        }
        if (!this.getConfig().getBoolean("items.hugeredmushroomstem.blacklisted")) {
            itemNames.add("hugeredmushroomstem");
        }
        if (!this.getConfig().getBoolean("items.hugebrownmushroomstem.blacklisted")) {
            itemNames.add("hugebrownmushroomstem");
        }
        if (!this.getConfig().getBoolean("items.stonestairs.blacklisted")) {
            itemNames.add("stonestairs");
        }
        if (!this.getConfig().getBoolean("items.oakwoodstairs.blacklisted")) {
            itemNames.add("oakwoodstairs");
        }
        if (!this.getConfig().getBoolean("items.sandstonestairs.blacklisted")) {
            itemNames.add("sandstonestairs");
        }
        if (!this.getConfig().getBoolean("items.wooddoor.blacklisted")) {
            itemNames.add("wooddoor");
        }
        if (!this.getConfig().getBoolean("items.quartzstairs.blacklisted")) {
            itemNames.add("quartzstairs");
        }
        if (!this.getConfig().getBoolean("items.craftingtable.blacklisted")) {
            itemNames.add("craftingtable");
        }
        if (!this.getConfig().getBoolean("items.redstonelamp.blacklisted")) {
            itemNames.add("redstonelamp");
        }
        if (!this.getConfig().getBoolean("items.pumpkin.blacklisted")) {
            itemNames.add("pumpkin");
        }
        if (!this.getConfig().getBoolean("items.irondoor.blacklisted")) {
            itemNames.add("irondoor");
        }
        if (!this.getConfig().getBoolean("items.redstonetorch.blacklisted")) {
            itemNames.add("redstonetorch");
        }
        if (!this.getConfig().getBoolean("items.carrot.blacklisted")) {
            itemNames.add("carrot");
        }
        if (!this.getConfig().getBoolean("items.stonebutton.blacklisted")) {
            itemNames.add("stonebutton");
        }
        if (!this.getConfig().getBoolean("items.woddenpressureplate.blacklisted")) {
            itemNames.add("woodenpressureplate");
        }
        if (!this.getConfig().getBoolean("items.furnace.blacklisted")) {
            itemNames.add("furnace");
        }
        if (!this.getConfig().getBoolean("items.potato.blacklisted")) {
            itemNames.add("potato");
        }
        if (!this.getConfig().getBoolean("items.repeater.blacklisted")) {
            itemNames.add("repeater");
        }
        if (!this.getConfig().getBoolean("items.birchwoodstairs.blacklisted")) {
            itemNames.add("birchwoodstairs");
        }
        if (!this.getConfig().getBoolean("items.stonepressureplate.blacklisted")) {
            itemNames.add("stonepressureplate");
        }
        if (!this.getConfig().getBoolean("items.sprucewoodstairs.blacklisted")) {
            itemNames.add("sprucewoodstairs");
        }
        if (!this.getConfig().getBoolean("items.jukebox.blacklisted")) {
            itemNames.add("jukebox");
        }
        if (!this.getConfig().getBoolean("items.piston.blacklisted")) {
            itemNames.add("piston");
        }
        if (!this.getConfig().getBoolean("items.fencegate.blacklisted")) {
            itemNames.add("fencegate");
        }
        if (!this.getConfig().getBoolean("items.bed.blacklisted")) {
            itemNames.add("bed");
        }
        if (!this.getConfig().getBoolean("items.lever.blacklisted")) {
            itemNames.add("lever");
        }
        if (!this.getConfig().getBoolean("items.trapdoor.blacklisted")) {
            itemNames.add("trapdoor");
        }
        if (!this.getConfig().getBoolean("items.endstone.blacklisted")) {
            itemNames.add("endstone");
        }
        if (!this.getConfig().getBoolean("items.tripwirehook.blacklisted")) {
            itemNames.add("tripwirehook");
        }
        if (!this.getConfig().getBoolean("items.junglewoodstairs.blacklisted")) {
            itemNames.add("junglewoodstairs");
        }
        if (!this.getConfig().getBoolean("items.woodbutton.blacklisted")) {
            itemNames.add("woodbutton");
        }
        if (!this.getConfig().getBoolean("items.cauldron.blacklisted")) {
            itemNames.add("cauldron");
        }
        if (!this.getConfig().getBoolean("items.hopper.blacklisted")) {
            itemNames.add("hopper");
        }
        if (!this.getConfig().getBoolean("items.noteblock.blacklisted")) {
            itemNames.add("noteblock");
        }
        if (!this.getConfig().getBoolean("items.jackolantern.blacklisted")) {
            itemNames.add("jackolantern");
        }
        if (!this.getConfig().getBoolean("items.weightedpressureplateheavy.blacklisted")) {
            itemNames.add("weightedpressureplateheavy");
        }
        if (!this.getConfig().getBoolean("items.weightedpressureplatelight.blacklisted")) {
            itemNames.add("weightedpressureplatelight");
        }
        if (!this.getConfig().getBoolean("items.expbottle.blacklisted")) {
            itemNames.add("expbottle");
        }
        if (!this.getConfig().getBoolean("items.tnt.blacklisted")) {
            itemNames.add("tnt");
        }
        if (!this.getConfig().getBoolean("items.sponge.blacklisted")) {
            itemNames.add("sponge");
        }
        if (!this.getConfig().getBoolean("items.string.blacklisted")) {
            itemNames.add("string");
        }
        if (!this.getConfig().getBoolean("items.stick.blacklisted")) {
            itemNames.add("stick");
        }
        if (!this.getConfig().getBoolean("items.bow.blacklisted")) {
            itemNames.add("bow");
        }
        if (!this.getConfig().getBoolean("items.dispenser.blacklisted")) {
            itemNames.add("dispenser");
        }
        if (!this.getConfig().getBoolean("items.poweredrail.blacklisted")) {
            itemNames.add("poweredrail");
        }
        if (!this.getConfig().getBoolean("items.detectorrail.blacklisted")) {
            itemNames.add("detectorrail");
        }
        if (!this.getConfig().getBoolean("items.slimeball.blacklisted")) {
            itemNames.add("slimeball");
        }
        if (!this.getConfig().getBoolean("items.stickypiston.blacklisted")) {
            itemNames.add("stickypiston");
        }
        if (!this.getConfig().getBoolean("items.brownmushroom.blacklisted")) {
            itemNames.add("brownmushroom");
        }
        if (!this.getConfig().getBoolean("items.redmushroom.blacklisted")) {
            itemNames.add("redmushroom");
        }
        if (!this.getConfig().getBoolean("items.clay.blacklisted")) {
            itemNames.add("clay");
        }
        if (!this.getConfig().getBoolean("items.brick.blacklisted")) {
            itemNames.add("brick");
        }
        if (!this.getConfig().getBoolean("items.bricks.blacklisted")) {
            itemNames.add("bricks");
        }
        if (!this.getConfig().getBoolean("items.paper.blacklisted")) {
            itemNames.add("paper");
        }
        if (!this.getConfig().getBoolean("items.leather.blacklisted")) {
            itemNames.add("leather");
        }
        if (!this.getConfig().getBoolean("items.book.blacklisted")) {
            itemNames.add("book");
        }
        if (!this.getConfig().getBoolean("items.bookshelf.blacklisted")) {
            itemNames.add("bookshelf");
        }
        if (!this.getConfig().getBoolean("items.cobblestonestairs.blacklisted")) {
            itemNames.add("cobblestonestairs");
        }
        if (!this.getConfig().getBoolean("items.snowblock.blacklisted")) {
            itemNames.add("snowblock");
        }
        if (!this.getConfig().getBoolean("items.clayblock.blacklisted")) {
            itemNames.add("clayblock");
        }
        if (!this.getConfig().getBoolean("items.melonblock.blacklisted")) {
            itemNames.add("melonblock");
        }
        if (!this.getConfig().getBoolean("items.brickstairs.blacklisted")) {
            itemNames.add("brickstairs");
        }
        if (!this.getConfig().getBoolean("items.netherbrick.blacklisted")) {
            itemNames.add("netherbrick");
        }
        if (!this.getConfig().getBoolean("items.enchantmenttable.blacklisted")) {
            itemNames.add("enchantmenttable");
        }
        if (!this.getConfig().getBoolean("items.endportalframe.blacklisted")) {
            itemNames.add("endportalframe");
        }
        if (!this.getConfig().getBoolean("items.dragonegg.blacklisted")) {
            itemNames.add("dragonegg");
        }
        if (!this.getConfig().getBoolean("items.netherstar.blacklisted")) {
            itemNames.add("netherstar");
        }
        if (!this.getConfig().getBoolean("items.beacon.blacklisted")) {
            itemNames.add("beacon");
        }
        if (!this.getConfig().getBoolean("items.quartz.blacklisted")) {
            itemNames.add("quartz");
        }
        if (!this.getConfig().getBoolean("items.activatorrail.blacklisted")) {
            itemNames.add("activatorrail");
        }
        if (!this.getConfig().getBoolean("items.dropper.blacklisted")) {
            itemNames.add("dropper");
        }
        if (!this.getConfig().getBoolean("items.seeds.blacklisted")) {
            itemNames.add("seeds");
        }
        if (!this.getConfig().getBoolean("items.wheat.blacklisted")) {
            itemNames.add("wheat");
        }
        if (!this.getConfig().getBoolean("items.hayblock.blacklisted")) {
            itemNames.add("hayblock");
        }
        if (!this.getConfig().getBoolean("items.hardclay.blacklisted")) {
            itemNames.add("hardclay");
        }
        if (!this.getConfig().getBoolean("items.ironspade.blacklisted")) {
            itemNames.add("ironspade");
        }
        if (!this.getConfig().getBoolean("items.ironpickaxe.blacklisted")) {
            itemNames.add("ironpickaxe");
        }
        if (!this.getConfig().getBoolean("items.ironaxe.blacklisted")) {
            itemNames.add("ironaxe");
        }
        if (!this.getConfig().getBoolean("items.flint.blacklisted")) {
            itemNames.add("flint");
        }
        if (!this.getConfig().getBoolean("items.flintandsteel.blacklisted")) {
            itemNames.add("flintandsteel");
        }
        if (!this.getConfig().getBoolean("items.apple.blacklisted")) {
            itemNames.add("apple");
        }
        if (!this.getConfig().getBoolean("items.feather.blacklisted")) {
            itemNames.add("feather");
        }
        if (!this.getConfig().getBoolean("items.arrow.blacklisted")) {
            itemNames.add("arrow");
        }
        if (!this.getConfig().getBoolean("items.ironsword.blacklisted")) {
            itemNames.add("ironsword");
        }
        if (!this.getConfig().getBoolean("items.woodensword.blacklisted")) {
            itemNames.add("woodensword");
        }
        if (!this.getConfig().getBoolean("items.woodenspade.blacklisted")) {
            itemNames.add("woodenspade");
        }
        if (!this.getConfig().getBoolean("items.woodenpickaxe.blacklisted")) {
            itemNames.add("woodenpickaxe");
        }
        if (!this.getConfig().getBoolean("items.woodenaxe.blacklisted")) {
            itemNames.add("woodenaxe");
        }
        if (!this.getConfig().getBoolean("items.stonesword.blacklisted")) {
            itemNames.add("stonesword");
        }
        if (!this.getConfig().getBoolean("items.stonespade.blacklisted")) {
            itemNames.add("stonespade");
        }
        if (!this.getConfig().getBoolean("items.stonepickaxe.blacklisted")) {
            itemNames.add("stonepickaxe");
        }
        if (!this.getConfig().getBoolean("items.stoneaxe.blacklisted")) {
            itemNames.add("stoneaxe");
        }
        if (!this.getConfig().getBoolean("items.diamondsword.blacklisted")) {
            itemNames.add("diamondsword");
        }
        if (!this.getConfig().getBoolean("items.diamondspade.blacklisted")) {
            itemNames.add("diamondspade");
        }
        if (!this.getConfig().getBoolean("items.diamondpickaxe.blacklisted")) {
            itemNames.add("diamondpickaxe");
        }
        if (!this.getConfig().getBoolean("items.diamondaxe.blacklisted")) {
            itemNames.add("diamondaxe");
        }
        if (!this.getConfig().getBoolean("items.bowl.blacklisted")) {
            itemNames.add("bowl");
        }
        if (!this.getConfig().getBoolean("items.mushroomsoup.blacklisted")) {
            itemNames.add("mushroomsoup");
        }
        if (!this.getConfig().getBoolean("items.goldsword.blacklisted")) {
            itemNames.add("goldsword");
        }
        if (!this.getConfig().getBoolean("items.goldspade.blacklisted")) {
            itemNames.add("goldspade");
        }
        if (!this.getConfig().getBoolean("items.goldpickaxe.blacklisted")) {
            itemNames.add("goldpickaxe");
        }
        if (!this.getConfig().getBoolean("items.goldaxe.blacklisted")) {
            itemNames.add("goldaxe");
        }
        if (!this.getConfig().getBoolean("items.gunpowder.blacklisted")) {
            itemNames.add("gunpowder");
        }
        if (!this.getConfig().getBoolean("items.woodenhoe.blacklisted")) {
            itemNames.add("woodenhoe");
        }
        if (!this.getConfig().getBoolean("items.stonehoe.blacklisted")) {
            itemNames.add("stonehoe");
        }
        if (!this.getConfig().getBoolean("items.ironhoe.blacklisted")) {
            itemNames.add("ironhoe");
        }
        if (!this.getConfig().getBoolean("items.diamondhoe.blacklisted")) {
            itemNames.add("diamondhoe");
        }
        if (!this.getConfig().getBoolean("items.goldhoe.blacklisted")) {
            itemNames.add("goldhoe");
        }
        if (!this.getConfig().getBoolean("items.bread.blacklisted")) {
            itemNames.add("bread");
        }
        if (!this.getConfig().getBoolean("items.leatherhelmet.blacklisted")) {
            itemNames.add("leatherhelmet");
        }
        if (!this.getConfig().getBoolean("items.leatherchestplate.blacklisted")) {
            itemNames.add("leatherchestplate");
        }
        if (!this.getConfig().getBoolean("items.leatherpants.blacklisted")) {
            itemNames.add("leatherpants");
        }
        if (!this.getConfig().getBoolean("items.leatherboots.blacklisted")) {
            itemNames.add("leatherboots");
        }
        if (!this.getConfig().getBoolean("items.chainmailhelmet.blacklisted")) {
            itemNames.add("chainmailhelmet");
        }
        if (!this.getConfig().getBoolean("items.chainmailchestplate.blacklisted")) {
            itemNames.add("chainmailchestplate");
        }
        if (!this.getConfig().getBoolean("items.chainmailpants.blacklisted")) {
            itemNames.add("chainmailpants");
        }
        if (!this.getConfig().getBoolean("items.chainmailboots.blacklisted")) {
            itemNames.add("chainmailboots");
        }
        if (!this.getConfig().getBoolean("items.ironhelmet.blacklisted")) {
            itemNames.add("ironhelmet");
        }
        if (!this.getConfig().getBoolean("items.ironchestplate.blacklisted")) {
            itemNames.add("ironchestplate");
        }
        if (!this.getConfig().getBoolean("items.ironpants.blacklisted")) {
            itemNames.add("ironpants");
        }
        if (!this.getConfig().getBoolean("items.ironboots.blacklisted")) {
            itemNames.add("ironboots");
        }
        if (!this.getConfig().getBoolean("items.diamondhelmet.blacklisted")) {
            itemNames.add("diamondhelmet");
        }
        if (!this.getConfig().getBoolean("items.diamondchestplate.blacklisted")) {
            itemNames.add("diamondchestplate");
        }
        if (!this.getConfig().getBoolean("items.diamondpants.blacklisted")) {
            itemNames.add("diamondpants");
        }
        if (!this.getConfig().getBoolean("items.diamondboots.blacklisted")) {
            itemNames.add("diamondboots");
        }
        if (!this.getConfig().getBoolean("items.goldhelmet.blacklisted")) {
            itemNames.add("goldhelmet");
        }
        if (!this.getConfig().getBoolean("items.goldchestplate.blacklisted")) {
            itemNames.add("goldchestplate");
        }
        if (!this.getConfig().getBoolean("items.goldpants.blacklisted")) {
            itemNames.add("goldpants");
        }
        if (!this.getConfig().getBoolean("items.goldboots.blacklisted")) {
            itemNames.add("goldboots");
        }
        if (!this.getConfig().getBoolean("items.porkchop.blacklisted")) {
            itemNames.add("porkchop");
        }
        if (!this.getConfig().getBoolean("items.cookedpork.blacklisted")) {
            itemNames.add("cookedpork");
        }
        if (!this.getConfig().getBoolean("items.painting.blacklisted")) {
            itemNames.add("painting");
        }
        if (!this.getConfig().getBoolean("items.woodendoor.blacklisted")) {
            itemNames.add("woodendoor");
        }
        if (!this.getConfig().getBoolean("items.bucket.blacklisted")) {
            itemNames.add("bucket");
        }
        if (!this.getConfig().getBoolean("items.waterbucket.blacklisted")) {
            itemNames.add("waterbucket");
        }
        if (!this.getConfig().getBoolean("items.lavabucket.blacklisted")) {
            itemNames.add("lavabucket");
        }
        if (!this.getConfig().getBoolean("items.minecart.blacklisted")) {
            itemNames.add("minecart");
        }
        if (!this.getConfig().getBoolean("items.saddle.blacklisted")) {
            itemNames.add("saddle");
        }
        if (!this.getConfig().getBoolean("items.boat.blacklisted")) {
            itemNames.add("boat");
        }
        if (!this.getConfig().getBoolean("items.milkbucket.blacklisted")) {
            itemNames.add("milkbucket");
        }
        if (!this.getConfig().getBoolean("items.storagecart.blacklisted")) {
            itemNames.add("storagecart");
        }
        if (!this.getConfig().getBoolean("items.egg.blacklisted")) {
            itemNames.add("egg");
        }
        if (!this.getConfig().getBoolean("items.compass.blacklisted")) {
            itemNames.add("compass");
        }
        if (!this.getConfig().getBoolean("items.fishingrod.blacklisted")) {
            itemNames.add("fishingrod");
        }
        if (!this.getConfig().getBoolean("items.watch.blacklisted")) {
            itemNames.add("watch");
        }
        if (!this.getConfig().getBoolean("items.glowstonedust.blacklisted")) {
            itemNames.add("glowstonedust");
        }
        if (!this.getConfig().getBoolean("items.fish.blacklisted")) {
            itemNames.add("fish");
        }
        if (!this.getConfig().getBoolean("items.cookedfish.blacklisted")) {
            itemNames.add("cookedfish");
        }
        if (!this.getConfig().getBoolean("items.bone.blacklisted")) {
            itemNames.add("bone");
        }
        if (!this.getConfig().getBoolean("items.sugar.blacklisted")) {
            itemNames.add("sugar");
        }
        if (!this.getConfig().getBoolean("items.cake.blacklisted")) {
            itemNames.add("cake");
        }
        if (!this.getConfig().getBoolean("items.cocoabeans.blacklisted")) {
            itemNames.add("cocoabeans");
        }
        if (!this.getConfig().getBoolean("items.cookie.blacklisted")) {
            itemNames.add("cookie");
        }
        if (!this.getConfig().getBoolean("items.map.blacklisted")) {
            itemNames.add("map");
        }
        if (!this.getConfig().getBoolean("items.shears.blacklisted")) {
            itemNames.add("shears");
        }
        if (!this.getConfig().getBoolean("items.melon.blacklisted")) {
            itemNames.add("melon");
        }
        if (!this.getConfig().getBoolean("items.pumpkinseeds.blacklisted")) {
            itemNames.add("pumpkinseeds");
        }
        if (!this.getConfig().getBoolean("items.melonseeds.blacklisted")) {
            itemNames.add("melonseeds");
        }
        if (!this.getConfig().getBoolean("items.rawbeef.blacklisted")) {
            itemNames.add("rawbeef");
        }
        if (!this.getConfig().getBoolean("items.cookedbeef.blacklisted")) {
            itemNames.add("cookedbeef");
        }
        if (!this.getConfig().getBoolean("items.rawchicken.blacklisted")) {
            itemNames.add("rawchicken");
        }
        if (!this.getConfig().getBoolean("items.rottenflesh.blacklisted")) {
            itemNames.add("rottenflesh");
        }
        if (!this.getConfig().getBoolean("items.enderpearl.blacklisted")) {
            itemNames.add("enderpearl");
        }
        if (!this.getConfig().getBoolean("items.blazerod.blacklisted")) {
            itemNames.add("blazerod");
        }
        if (!this.getConfig().getBoolean("items.ghasttear.blacklisted")) {
            itemNames.add("ghasttear");
        }
        if (!this.getConfig().getBoolean("items.goldnugget.blacklisted")) {
            itemNames.add("goldnugget");
        }
        if (!this.getConfig().getBoolean("items.glassbottle.blacklisted")) {
            itemNames.add("glassbottle");
        }
        if (!this.getConfig().getBoolean("items.waterbottle.blacklisted")) {
            itemNames.add("waterbottle");
        }
        if (!this.getConfig().getBoolean("items.spidereye.blacklisted")) {
            itemNames.add("spidereye");
        }
        if (!this.getConfig().getBoolean("items.fermentedspidereye.blacklisted")) {
            itemNames.add("fermentedspidereye");
        }
        if (!this.getConfig().getBoolean("items.blazepowder.blacklisted")) {
            itemNames.add("blazepowder");
        }
        if (!this.getConfig().getBoolean("items.magmacream.blacklisted")) {
            itemNames.add("magmacream");
        }
        if (!this.getConfig().getBoolean("items.brewingstand.blacklisted")) {
            itemNames.add("brewingstand");
        }
        if (!this.getConfig().getBoolean("items.eyeofender.blacklisted")) {
            itemNames.add("eyeofender");
        }
        if (!this.getConfig().getBoolean("items.glisteringmelon.blacklisted")) {
            itemNames.add("glisteringmelon");
        }
        if (!this.getConfig().getBoolean("items.firecharge.blacklisted")) {
            itemNames.add("firecharge");
        }
        if (!this.getConfig().getBoolean("items.bookandquill.blacklisted")) {
            itemNames.add("bookandquill");
        }
        if (!this.getConfig().getBoolean("items.itemframe.blacklisted")) {
            itemNames.add("itemframe");
        }
        if (!this.getConfig().getBoolean("items.flowerpot.blacklisted")) {
            itemNames.add("flowerpot");
        }
        if (!this.getConfig().getBoolean("items.bakedpotato.blacklisted")) {
            itemNames.add("bakedpotato");
        }
        if (!this.getConfig().getBoolean("items.poisonouspotato.blacklisted")) {
            itemNames.add("poisonouspotato");
        }
        if (!this.getConfig().getBoolean("items.goldencarrot.blacklisted")) {
            itemNames.add("goldencarrot");
        }
        if (!this.getConfig().getBoolean("items.carrotonastick.blacklisted")) {
            itemNames.add("carrotonastick");
        }
        if (!this.getConfig().getBoolean("items.pumpkinpie.blacklisted")) {
            itemNames.add("pumpkinpie");
        }
        if (!this.getConfig().getBoolean("items.fireworkstar.blacklisted")) {
            itemNames.add("fireworkstar");
        }
        if (!this.getConfig().getBoolean("items.enchantedbook.blacklisted")) {
            itemNames.add("enchantedbook");
        }
        if (!this.getConfig().getBoolean("items.redstonecomparator.blacklisted")) {
            itemNames.add("redstonecomparator");
        }
        if (!this.getConfig().getBoolean("items.tntcart.blacklisted")) {
            itemNames.add("tntcart");
        }
        if (!this.getConfig().getBoolean("items.hoppercart.blacklisted")) {
            itemNames.add("hoppercart");
        }
        if (!this.getConfig().getBoolean("items.ironhorsearmor.blacklisted")) {
            itemNames.add("ironhorsearmor");
        }
        if (!this.getConfig().getBoolean("items.goldhorsearmor.blacklisted")) {
            itemNames.add("goldhorsearmor");
        }
        if (!this.getConfig().getBoolean("items.diamondhorsearmor.blacklisted")) {
            itemNames.add("diamondhorsearmor");
        }
        if (!this.getConfig().getBoolean("items.lead.blacklisted")) {
            itemNames.add("lead");
        }
        if (!this.getConfig().getBoolean("items.nametag.blacklisted")) {
            itemNames.add("nametag");
        }
        if (!this.getConfig().getBoolean("items.musicdisc13.blacklisted")) {
            itemNames.add("musicdisc13");
        }
        if (!this.getConfig().getBoolean("items.musicdisccat.blacklisted")) {
            itemNames.add("musicdisccat");
        }
        if (!this.getConfig().getBoolean("items.musicdiscblocks.blacklisted")) {
            itemNames.add("musicdiscblocks");
        }
        if (!this.getConfig().getBoolean("items.musicdiscchirp.blacklisted")) {
            itemNames.add("musicdiscchirp");
        }
        if (!this.getConfig().getBoolean("items.musicdiscfar.blacklisted")) {
            itemNames.add("musicdiscfar");
        }
        if (!this.getConfig().getBoolean("items.musicdiscmall.blacklisted")) {
            itemNames.add("musicdiscmall");
        }
        if (!this.getConfig().getBoolean("items.musicdiscmellohi.blacklisted")) {
            itemNames.add("musicdiscmellohi");
        }
        if (!this.getConfig().getBoolean("items.musicdiscstal.blacklisted")) {
            itemNames.add("musicdiscstal");
        }
        if (!this.getConfig().getBoolean("items.musicdiscstrad.blacklisted")) {
            itemNames.add("musicdiscstrad");
        }
        if (!this.getConfig().getBoolean("items.musicdiscward.blacklisted")) {
            itemNames.add("musicdiscward");
        }
        if (!this.getConfig().getBoolean("items.musicdisc11.blacklisted")) {
            itemNames.add("musicdisc11");
        }
        if (!this.getConfig().getBoolean("items.musicdiscwait.blacklisted")) {
            itemNames.add("musicdiscwait");
        }
        if (!this.getConfig().getBoolean("items.enderchest.blacklisted")) {
            itemNames.add("enderchest");
        }
        if (!this.getConfig().getBoolean("items.daylightsensor.blacklisted")) {
            itemNames.add("daylightsensor");
        }
        if (!this.getConfig().getBoolean("items.bedrock.blacklisted")) {
            itemNames.add("bedrock");
        }
        if (!this.getConfig().getBoolean("items.netherwart.blacklisted")) {
            itemNames.add("netherwart");
        }
        return itemNames;
    }
    
    public ArrayList<Double> listOfItemPrices() {
        final ArrayList<Double> itemPrices = new ArrayList<Double>();
        if (!this.getConfig().getBoolean("items.stone.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.stone.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.dirt.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.dirt.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.gravel.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.gravel.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.sand.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.sand.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.coal.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.coal.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.grassblock.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.grassblock.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.iron.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.iron.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.snowball.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.snowball.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.redstone.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.redstone.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.fence.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.fence.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.gold.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.gold.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.ice.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.ice.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.vine.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.vine.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.lapislazuli.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.lapislazuli.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.diamond.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.diamond.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.web.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.web.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.cobblestone.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.cobblestone.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.obsidian.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.obsidian.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.rail.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.rail.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.mossycobblestone.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.mossycobblestone.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.fern.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.fern.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.mycelium.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.mycelium.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.yellowflower.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.yellowflower.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.emerald.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.emerald.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.lilypad.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.lilypad.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.brownmushroomblock.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.brownmushroomblock.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.ironbars.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.ironbars.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.torch.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.torch.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.rose.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.rose.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.redmushroomblock.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.redmushroomblock.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.cactus.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.cactus.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.mobspawner.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.mobspawner.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.sugarcane.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.sugarcane.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.sign.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.sign.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.glass.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.glass.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.chest.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.chest.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.farmland.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.farmland.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.brownmushroomtopblock.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.brownmushroomtopblock.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.glasspane.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.glasspane.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.ladder.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.ladder.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.glowstone.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.glowstone.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.netherrack.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.netherrack.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.soulsand.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.soulsand.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.stonebrickstairs.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.stonebrickstairs.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.hugeredmushroomstem.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.hugeredmushroomstem.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.hugebrownmushroomstem.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.hugebrownmushroomstem.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.stonestairs.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.stonestairs.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.oakwoodstairs.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.oakwoodstairs.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.sandstonestairs.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.sandstonestairs.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.wooddoor.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.wooddoor.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.quartzstairs.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.quartzstairs.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.craftingtable.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.craftingtable.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.redstonelamp.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.redstonelamp.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.pumpkin.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.pumpkin.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.irondoor.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.irondoor.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.redstonetorch.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.redstonetorch.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.carrot.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.carrot.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.stonebutton.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.stonebutton.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.woddenpressureplate.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.woodenpressureplate.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.furnace.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.furnace.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.potato.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.potato.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.repeater.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.repeater.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.birchwoodstairs.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.birchwoodstairs.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.stonepressureplate.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.stonepressureplate.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.sprucewoodstairs.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.sprucewoodstairs.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.jukebox.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.jukebox.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.piston.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.piston.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.fencegate.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.fencegate.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.bed.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.bed.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.lever.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.lever.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.trapdoor.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.trapdoor.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.endstone.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.endstone.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.tripwirehook.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.tripwirehook.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.junglewoodstairs.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.junglewoodstairs.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.woodbutton.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.woodbutton.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.cauldron.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.cauldron.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.hopper.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.hopper.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.noteblock.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.noteblock.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.jackolantern.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.jackolantern.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.weightedpressureplateheavy.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.weightedpressureplateheavy.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.weightedpressureplatelight.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.weightedpressureplatelight.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.expbottle.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.expbottle.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.tnt.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.tnt.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.sponge.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.sponge.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.string.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.string.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.stick.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.stick.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.bow.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.bow.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.dispenser.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.dispenser.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.poweredrail.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.poweredrail.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.detectorrail.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.detectorrail.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.slimeball.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.slimeball.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.stickypiston.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.stickypiston.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.brownmushroom.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.brownmushroom.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.redmushroom.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.redmushroom.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.clay.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.clay.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.brick.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.brick.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.bricks.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.bricks.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.paper.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.paper.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.leather.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.leather.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.book.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.book.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.bookshelf.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.bookshelf.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.cobblestonestairs.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.cobblestonestairs.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.snowblock.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.snowblock.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.clayblock.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.clayblock.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.melonblock.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.melonblock.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.brickstairs.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.brickstairs.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.netherbrick.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.netherbrick.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.enchantmenttable.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.enchantmenttable.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.endportalframe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.endportalframe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.dragonegg.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.dragonegg.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.netherstar.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.netherstar.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.beacon.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.beacon.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.quartz.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.quartz.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.activatorrail.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.activatorrail.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.dropper.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.dropper.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.seeds.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.seeds.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.wheat.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.wheat.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.hayblock.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.hayblock.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.hardclay.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.hardclay.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.ironspade.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.ironspade.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.ironpickaxe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.ironpickaxe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.ironaxe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.ironaxe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.flint.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.flint.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.flintandsteel.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.flintandsteel.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.apple.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.apple.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.feather.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.feather.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.arrow.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.arrow.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.ironsword.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.ironsword.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.woodensword.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.woodensword.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.woodenspade.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.woodenspade.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.woodenpickaxe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.woodenpickaxe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.woodenaxe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.woodenaxe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.stonesword.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.stonesword.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.stonespade.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.stonespade.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.stonepickaxe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.stonepickaxe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.stoneaxe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.stoneaxe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.diamondsword.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.diamondsword.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.diamondspade.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.diamondspade.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.diamondpickaxe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.diamondpickaxe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.diamondaxe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.diamondaxe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.bowl.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.bowl.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.mushroomsoup.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.mushroomsoup.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.goldsword.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.goldsword.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.goldspade.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.goldspade.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.goldpickaxe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.goldpickaxe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.goldaxe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.goldaxe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.gunpowder.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.gunpowder.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.woodenhoe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.woodenhoe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.stonehoe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.stonehoe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.ironhoe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.ironhoe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.diamondhoe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.diamondhoe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.goldhoe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.goldhoe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.bread.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.bread.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.leatherhelmet.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.leatherhelmet.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.leatherchestplate.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.leatherchestplate.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.leatherpants.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.leatherpants.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.leatherboots.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.leatherboots.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.chainmailhelmet.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.chainmailhelmet.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.chainmailchestplate.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.chainmailchestplate.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.chainmailpants.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.chainmailpants.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.chainmailboots.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.chainmailboots.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.ironhelmet.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.ironhelmet.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.ironchestplate.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.ironchestplate.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.ironpants.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.ironpants.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.ironboots.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.ironboots.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.diamondhelmet.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.diamondhelmet.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.diamondchestplate.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.diamondchestplate.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.diamondpants.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.diamondpants.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.diamondboots.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.diamondboots.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.goldhelmet.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.goldhelmet.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.goldchestplate.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.goldchestplate.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.goldpants.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.goldpants.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.goldboots.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.goldboots.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.porkchop.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.porkchop.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.cookedpork.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.cookedpork.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.painting.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.painting.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.woodendoor.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.woodendoor.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.bucket.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.bucket.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.waterbucket.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.waterbucket.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.lavabucket.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.lavabucket.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.minecart.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.minecart.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.saddle.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.saddle.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.boat.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.boat.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.milkbucket.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.milkbucket.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.storagecart.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.storagecart.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.egg.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.egg.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.compass.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.compass.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.fishingrod.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.fishingrod.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.watch.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.watch.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.glowstonedust.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.glowstonedust.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.fish.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.fish.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.cookedfish.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.cookedfish.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.bone.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.bone.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.sugar.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.sugar.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.cake.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.cake.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.cocoabeans.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.cocoabeans.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.cookie.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.cookie.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.map.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.map.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.shears.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.shears.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.melon.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.melon.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.pumpkinseeds.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.pumpkinseeds.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.melonseeds.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.melonseeds.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.rawbeef.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.rawbeef.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.cookedbeef.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.cookedbeef.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.rawchicken.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.rawchicken.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.rottenflesh.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.rottenflesh.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.enderpearl.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.enderpearl.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.blazerod.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.blazerod.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.ghasttear.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.ghasttear.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.goldnugget.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.goldnugget.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.glassbottle.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.glassbottle.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.waterbottle.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.waterbottle.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.spidereye.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.spidereye.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.fermentedspidereye.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.fermentedspidereye.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.blazepowder.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.blazepowder.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.magmacream.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.magmacream.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.brewingstand.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.brewingstand.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.eyeofender.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.eyeofender.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.glisteringmelon.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.glisteringmelon.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.firecharge.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.firecharge.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.bookandquill.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.bookandquill.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.itemframe.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.itemframe.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.flowerpot.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.flowerpot.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.bakedpotato.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.bakedpotato.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.poisonouspotato.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.poisonouspotato.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.goldencarrot.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.goldencarrot.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.carrotonastick.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.carrotonastick.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.pumpkinpie.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.pumpkinpie.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.fireworkstar.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.fireworkstar.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.enchantedbook.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.enchantedbook.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.redstonecomparator.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.redstonecomparator.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.tntcart.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.tntcart.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.hoppercart.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.hoppercart.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.ironhorsearmor.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.ironhorsearmor.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.goldhorsearmor.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.goldhorsearmor.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.diamondhorsearmor.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.diamondhorsearmor.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.lead.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.lead.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.nametag.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.nametag.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.musicdisc13.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.musicdisc13.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.musicdisccat.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.musicdisccat.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.musicdiscblocks.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.musicdiscblocks.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.musicdiscchirp.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.musicdiscchirp.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.musicdiscfar.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.musicdiscfar.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.musicdiscmall.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.musicdiscmall.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.musicdiscmellohi.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.musicdiscmellohi.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.musicdiscstal.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.musicdiscstal.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.musicdiscstrad.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.musicdiscstrad.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.musicdiscward.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.musicdiscward.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.musicdisc11.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.musicdisc11.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.musicdiscwait.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.musicdiscwait.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.enderchest.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.enderchest.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.daylightsensor.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.daylightsensor.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.bedrock.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.bedrock.actualprice"));
        }
        if (!this.getConfig().getBoolean("items.netherwart.blacklisted")) {
            itemPrices.add(this.getConfig().getDouble("items.netherwart.actualprice"));
        }
        return itemPrices;
    }
    
    private void listItemPrices(final Player player, final String args0) {
        final ArrayList<Double> originalPriceList = this.listOfItemPrices();
        ArrayList<Double> priceList = this.listOfItemPrices();
        ArrayList<String> nameList = this.listItemConfigNames();
        if (args0.equalsIgnoreCase("lowest") || args0.equalsIgnoreCase("bottom") || args0.equalsIgnoreCase("cheapest")) {
            priceList = MethodsForReference.priceReturningBubblesortLowest(originalPriceList, nameList);
            nameList = MethodsForReference.nameReturningBubblesortLowest(originalPriceList, nameList);
            player.sendMessage("");
            player.sendMessage(ChatColor.GREEN + "---------------------" + ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "---------------------");
            player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Lowest priced " + ChatColor.YELLOW + "items" + ChatColor.GREEN + ":");
            for (int i = 0; i <= 14; ++i) {
                player.sendMessage(new StringBuilder().append(ChatColor.GREEN).append(i + 1).append(". ").append(ChatColor.YELLOW).append(nameList.get(i)).append(ChatColor.GREEN).append(": ").append(ChatColor.GOLD).append(priceList.get(i)).append(" ").append(ChatColor.AQUA).append(UltiMarket.econ.currencyNamePlural()).toString());
            }
            player.sendMessage(ChatColor.GREEN + "---------------------" + ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "---------------------");
        }
        if (args0.equalsIgnoreCase("highest") || args0.equalsIgnoreCase("top") || args0.equalsIgnoreCase("expensive")) {
            priceList = MethodsForReference.priceReturningBubblesortHighest(originalPriceList, nameList);
            nameList = MethodsForReference.nameReturningBubblesortHighest(originalPriceList, nameList);
            player.sendMessage("");
            player.sendMessage(ChatColor.GREEN + "---------------------" + ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "---------------------");
            player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Highest priced " + ChatColor.YELLOW + "items" + ChatColor.GREEN + ":");
            for (int i = 0; i <= 14; ++i) {
                player.sendMessage(new StringBuilder().append(ChatColor.GREEN).append(i + 1).append(". ").append(ChatColor.YELLOW).append(nameList.get(i)).append(ChatColor.GREEN).append(": ").append(ChatColor.GOLD).append(priceList.get(i)).append(" ").append(ChatColor.AQUA).append(UltiMarket.econ.currencyNamePlural()).toString());
            }
            player.sendMessage(ChatColor.GREEN + "---------------------" + ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "---------------------");
        }
    }
    
    private boolean buyMethod(double price, final String Name, final Player player, final String literalName, final int howMany, final String actualPricePath, final String pricePath) {
        double tempPrice = price;
        double amountToWithdraw = 0.0;
        final double initialPlayerBalance = UltiMarket.econ.getBalance(player.getName());
        int purchases = 0;
        boolean isBlacklisted = false;
        if (this.getConfig().getBoolean(pricePath.replace("price", "blacklisted"))) {
            isBlacklisted = true;
        }
        for (int i = 1; i <= howMany; ++i) {
            if (tempPrice > this.getConfig().getDouble("minimumprice")) {
                amountToWithdraw += tempPrice;
            }
            else {
                amountToWithdraw += this.getConfig().getDouble("minimumprice");
            }
            if (!this.getConfig().getBoolean("userandompricechangeamount")) {
                tempPrice += this.getConfig().getDouble("pricechangeperbuyorsell");
                ++purchases;
            }
            else {
                final int lower = this.getConfig().getInt("lowerpricechangeboundary");
                final int upper = this.getConfig().getInt("upperpricechangeboundary");
                final int randomInt = MethodsForReference.main(upper, lower);
                tempPrice += randomInt;
                ++purchases;
            }
        }
        if (!isBlacklisted) {
            if (UltiMarket.econ.getBalance(player.getName()) >= amountToWithdraw) {
                UltiMarket.econ.withdrawPlayer(player.getName(), amountToWithdraw);
                player.getInventory().addItem(new ItemStack[] { new ItemStack(Material.getMaterial(literalName), howMany) });
                final double finalPlayerBalance = UltiMarket.econ.getBalance(player.getName());
                double totalPrice = initialPlayerBalance - finalPlayerBalance;
                final BigDecimal bd = new BigDecimal(totalPrice).setScale(2, RoundingMode.HALF_UP);
                totalPrice = bd.doubleValue();
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + howMany + " " + ChatColor.YELLOW + Name + " bought for " + ChatColor.GOLD + totalPrice + " " + ChatColor.AQUA + UltiMarket.econ.currencyNamePlural() + ChatColor.GREEN + "!");
                price = tempPrice;
                this.getConfig().set(actualPricePath, (Object)price);
                final String purchasesPath = pricePath.replace("price", "purchases");
                purchases += this.getConfig().getInt(purchasesPath);
                this.getConfig().set(purchasesPath, (Object)purchases);
                if (this.getConfig().getDouble(actualPricePath) < this.getConfig().getDouble("minimumprice")) {
                    this.getConfig().set(pricePath, (Object)this.getConfig().getDouble("minimumprice"));
                }
                else {
                    this.getConfig().set(pricePath, (Object)this.getConfig().getDouble(actualPricePath));
                }
            }
            else {
                final BigDecimal bd2 = new BigDecimal(amountToWithdraw).setScale(2, RoundingMode.HALF_UP);
                amountToWithdraw = bd2.doubleValue();
                double howMuchMore = amountToWithdraw - UltiMarket.econ.getBalance(player.getName());
                final BigDecimal bigDec = new BigDecimal(howMuchMore).setScale(2, RoundingMode.HALF_UP);
                howMuchMore = bigDec.doubleValue();
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "You don't have enough " + ChatColor.AQUA + UltiMarket.econ.currencyNamePlural() + ChatColor.GREEN + " to buy any " + ChatColor.YELLOW + Name + ChatColor.GREEN + "!");
                player.sendMessage(ChatColor.GREEN + "You need " + howMuchMore + " more " + ChatColor.AQUA + UltiMarket.econ.currencyNamePlural() + ChatColor.GREEN + "!");
            }
        }
        else {
            player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "You're not allowed to buy " + ChatColor.YELLOW + Name + ChatColor.GREEN + "!");
        }
        this.saveConfig();
        return this.didThingsOccur = true;
    }
    
    private boolean sellMethod(double price, final String Name, final Player player, final String literalName, final int howMany, final String actualPricePath, final String pricePath, final String args0) {
        boolean isEnchanted = false;
        int sales = 0;
        boolean isBlacklisted = false;
        if (this.getConfig().getBoolean(pricePath.replace("price", "blacklisted"))) {
            isBlacklisted = true;
        }
        for (final Integer key : player.getInventory().all(Material.matchMaterial(literalName)).keySet()) {
            if (!player.getInventory().getItem((int)key).getEnchantments().isEmpty() || player.getInventory().getItem((int)key).getItemMeta().hasDisplayName()) {
                isEnchanted = true;
            }
            if (this.isItDurable(Material.matchMaterial(literalName)) && player.getInventory().getItem((int)key).getDurability() > 0) {
                isEnchanted = true;
            }
        }
        if (!isEnchanted) {
            if (!isBlacklisted) {
                if (player.getInventory().contains(Material.matchMaterial(literalName), howMany)) {
                    player.getInventory().removeItem(new ItemStack[] { new ItemStack(Material.matchMaterial(literalName), howMany) });
                    final double initialPlayerBalance = UltiMarket.econ.getBalance(player.getName());
                    double amountToCredit = 0.0;
                    for (int i = 1; i <= howMany; ++i) {
                        if (price > this.getConfig().getDouble("minimumprice")) {
                            amountToCredit += price;
                        }
                        else {
                            amountToCredit = amountToCredit + this.getConfig().getDouble("minimumprice") + this.getConfig().getDouble("pricechangeperbuyorsell");
                        }
                        UltiMarket.econ.withdrawPlayer(player.getName(), this.getConfig().getDouble("pricechangeperbuyorsell"));
                        if (!this.getConfig().getBoolean("userandompricechangeamount")) {
                            price -= this.getConfig().getDouble("pricechangeperbuyorsell");
                            ++sales;
                        }
                        else {
                            final int lower = this.getConfig().getInt("lowerpricechangeboundary");
                            final int upper = this.getConfig().getInt("upperpricechangeboundary");
                            final int randomInt = MethodsForReference.main(upper, lower);
                            price -= randomInt;
                            ++sales;
                        }
                    }
                    if (amountToCredit >= 0.0) {
                        UltiMarket.econ.depositPlayer(player.getName(), amountToCredit);
                    }
                    final double finalPlayerBalance = UltiMarket.econ.getBalance(player.getName());
                    double totalGain = finalPlayerBalance - initialPlayerBalance;
                    final BigDecimal bd = new BigDecimal(totalGain).setScale(2, RoundingMode.HALF_UP);
                    totalGain = bd.doubleValue();
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + howMany + " " + ChatColor.YELLOW + Name + ChatColor.GREEN + " sold for " + ChatColor.GOLD + totalGain + " " + ChatColor.AQUA + UltiMarket.econ.currencyNamePlural() + ChatColor.GREEN + "!");
                    this.getConfig().set(actualPricePath, (Object)price);
                    final String salesPath = pricePath.replace("price", "sales");
                    sales += this.getConfig().getInt(salesPath);
                    this.getConfig().set(salesPath, (Object)sales);
                    if (this.getConfig().getDouble(actualPricePath) < 0.0) {
                        this.getConfig().set(pricePath, (Object)this.getConfig().getDouble("minimumprice"));
                    }
                    else {
                        this.getConfig().set(pricePath, (Object)this.getConfig().getDouble(actualPricePath));
                    }
                }
                else {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "You don't have " + ChatColor.GOLD + howMany + " " + ChatColor.YELLOW + Name + ChatColor.GREEN + " to sell!");
                }
            }
            else {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "You're not allowed to sell " + ChatColor.YELLOW + Name + ChatColor.GREEN + "!");
            }
        }
        else if (!args0.equalsIgnoreCase("dontexecutethiscommand")) {
            player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "You can't sell enchanted, named, or damaged " + ChatColor.YELLOW + "items" + ChatColor.GREEN + "!");
        }
        this.saveConfig();
        return this.didThingsOccur = true;
    }
    
    public boolean sellWithExtDataMethod(double price, final String Name, final Player player, final String literalName, final int howMany, final String actualPricePath, final String pricePath, final int dataValue, final int id) {
        boolean isEnchanted = false;
        boolean itWorked = false;
        int sales = 0;
        int tempHowMany = howMany;
        boolean isItStillOne = false;
        for (final Integer key : player.getInventory().all(Material.matchMaterial(literalName)).keySet()) {
            if (!player.getInventory().getItem((int)key).getEnchantments().isEmpty() || player.getInventory().getItem((int)key).getItemMeta().hasDisplayName()) {
                isEnchanted = true;
            }
            if (this.isItDurable(Material.matchMaterial(literalName)) && player.getInventory().getItem((int)key).getDurability() > 0) {
                isEnchanted = true;
            }
        }
        if (!isEnchanted) {
            player.sendMessage("isEnchanted is false");
            int has = 0;
            player.sendMessage("has set to 0");
            player.sendMessage("theyHaveEnough set to false");
            for (final Integer key2 : player.getInventory().all(Material.matchMaterial(literalName)).keySet()) {
                player.sendMessage("initiated first for loop");
                player.sendMessage("about to check inventory slot " + key2);
                has += MethodsForReference.checkHowMuchTheyHaveExtData(player, id, dataValue, howMany, key2, has);
            }
            if (has >= howMany) {
                player.sendMessage("has >= howMany");
                for (final Integer key2 : player.getInventory().all(Material.matchMaterial(literalName)).keySet()) {
                    player.sendMessage("Outer for loop initiated");
                    if (tempHowMany > 0) {
                        player.sendMessage("tempHowMany has been determined to be > 0");
                        for (int i = 0; i <= howMany; ++i) {
                            player.sendMessage("Inner for loop initiated");
                            final int otherTempHowMany = player.getInventory().getItem((int)key2).getAmount();
                            player.sendMessage("otherTempHowMany set to be " + otherTempHowMany);
                            if (otherTempHowMany == 1) {
                                player.sendMessage("otherTempHowMany is 1");
                                isItStillOne = true;
                                player.sendMessage("isItStillOne set to true");
                            }
                            if (otherTempHowMany > 0) {
                                player.sendMessage("otherTempHowMany has been determined to be > 0");
                                player.getInventory().getItem((int)key2).setAmount(otherTempHowMany - 1);
                                player.sendMessage("amount of item set to " + (otherTempHowMany - 1));
                                if (isItStillOne) {
                                    player.sendMessage("isItStillOne determined to be true");
                                    player.getInventory().clear((int)key2);
                                    player.sendMessage("inventory slot " + key2 + " cleared");
                                    isItStillOne = false;
                                    player.sendMessage("isItStillOne set to false");
                                }
                                --tempHowMany;
                                player.sendMessage("tempHowMany decremented");
                                if (tempHowMany == 0 || player.getInventory().getItem((int)key2) == null) {
                                    player.sendMessage("either tempHowMany == 0 or player.getInventory().getItem(key) == null");
                                    player.sendMessage("about to break from inner for loop");
                                    break;
                                }
                            }
                        }
                        itWorked = true;
                        player.sendMessage("itWorked set to true");
                    }
                }
            }
            if (!itWorked) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + " You don't have " + ChatColor.GOLD + howMany + " " + ChatColor.YELLOW + Name + ChatColor.GREEN + " to sell!");
            }
            else {
                final double initialPlayerBalance = UltiMarket.econ.getBalance(player.getName());
                double amountToCredit = 0.0;
                for (int j = 1; j <= howMany; ++j) {
                    if (price > this.getConfig().getDouble("minimumprice")) {
                        amountToCredit += price;
                    }
                    else {
                        amountToCredit = amountToCredit + this.getConfig().getDouble("minimumprice") + this.getConfig().getDouble("pricechangeperbuyorsell");
                    }
                    UltiMarket.econ.withdrawPlayer(player.getName(), this.getConfig().getDouble("pricechangeperbuyorsell"));
                    if (!this.getConfig().getBoolean("userandompricechangeamount")) {
                        price -= this.getConfig().getDouble("pricechangeperbuyorsell");
                        ++sales;
                    }
                    else {
                        final int lower = this.getConfig().getInt("lowerpricechangeboundary");
                        final int upper = this.getConfig().getInt("upperpricechangeboundary");
                        final int randomInt = MethodsForReference.main(upper, lower);
                        price -= randomInt;
                    }
                }
                if (amountToCredit >= 0.0) {
                    UltiMarket.econ.depositPlayer(player.getName(), amountToCredit);
                }
                final double finalPlayerBalance = UltiMarket.econ.getBalance(player.getName());
                double totalGain = finalPlayerBalance - initialPlayerBalance;
                final BigDecimal bd = new BigDecimal(totalGain).setScale(2, RoundingMode.HALF_UP);
                totalGain = bd.doubleValue();
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + howMany + " " + ChatColor.YELLOW + Name + ChatColor.GREEN + " sold for " + ChatColor.GOLD + totalGain + " " + ChatColor.AQUA + UltiMarket.econ.currencyNamePlural() + ChatColor.GREEN + "!");
                this.getConfig().set(actualPricePath, (Object)price);
                final String salesPath = pricePath.replace("price", "sales");
                sales += this.getConfig().getInt(salesPath);
                this.getConfig().set(salesPath, (Object)sales);
                if (this.getConfig().getDouble(actualPricePath) < 0.0) {
                    this.getConfig().set(pricePath, (Object)this.getConfig().getDouble("minimumprice"));
                }
                else {
                    this.getConfig().set(pricePath, (Object)this.getConfig().getDouble(actualPricePath));
                }
            }
        }
        else {
            player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "You can't sell enchanted, named, or damaged " + ChatColor.YELLOW + "items" + ChatColor.GREEN + "!");
        }
        this.saveConfig();
        return this.didThingsOccur = true;
    }
    
    private boolean checkIfInventoryIsEmpty(final Player player) {
        ItemStack[] contents;
        for (int length = (contents = player.getInventory().getContents()).length, i = 0; i < length; ++i) {
            final ItemStack item = contents[i];
            if (item != null) {
                return false;
            }
        }
        return true;
    }
    
    private boolean sellAllMethod(final Player player) {
        if (!this.checkIfInventoryIsEmpty(player)) {
            for (int i = 1; i <= 36; ++i) {
                player.performCommand("sell dontexecutethiscommand");
            }
            return true;
        }
        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "You don't have " + ChatColor.YELLOW + "anything " + ChatColor.GREEN + "to sell!");
        return false;
    }
    
    private boolean getPrice(final Player player, final String pricePath, final String Name) {
        double price = this.getConfig().getDouble(pricePath);
        final BigDecimal bd = new BigDecimal(price).setScale(2, RoundingMode.HALF_UP);
        price = bd.doubleValue();
        if (price < 0.01) {
            price = 0.01;
        }
        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.YELLOW + Name + ChatColor.GREEN + " is currently worth " + ChatColor.GOLD + price + " " + ChatColor.AQUA + UltiMarket.econ.currencyNamePlural() + ChatColor.GREEN + "!");
        return this.didThingsOccur = true;
    }
    
    private boolean setPrice(final Player player, final String actualPricePath, final String pricePath, final double newPrice, final String Name) {
        this.getConfig().set(actualPricePath, (Object)newPrice);
        this.getConfig().set(pricePath, (Object)newPrice);
        this.saveConfig();
        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.YELLOW + Name + ChatColor.GREEN + " set to " + ChatColor.GOLD + newPrice + " " + ChatColor.AQUA + UltiMarket.econ.currencyNamePlural() + ChatColor.GREEN + "!");
        return this.didThingsOccur = true;
    }
    
    public boolean onCommand(final CommandSender sender, final Command cmd, final String label, final String[] args);
    
    private boolean overFlowMethod(final String theCommand, final String args0, final String args1, final Player player, final int argsLength) {
        if (args0.equalsIgnoreCase("arrow") || args0.equalsIgnoreCase("262") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("ARROW")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("ARROW")))) {
            final double price = this.getConfig().getDouble("items.arrow.actualprice");
            final String Name = "Arrow";
            final String literalName = "ARROW";
            final String actualPricePath = "items.arrow.actualprice";
            final String pricePath = "items.arrow.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 262);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("diamond") || args0.equalsIgnoreCase("264") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("DIAMOND")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("DIAMOND")))) {
            final double price = this.getConfig().getDouble("items.diamond.actualprice");
            final String Name = "Diamond";
            final String literalName = "DIAMOND";
            final String actualPricePath = "items.diamond.actualprice";
            final String pricePath = "items.diamond.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 264);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("iron") || args0.equalsIgnoreCase("265") || args0.equalsIgnoreCase("ironingot") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("IRON_INGOT")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("IRON_INGOT")))) {
            final double price = this.getConfig().getDouble("items.iron.actualprice");
            final String Name = "Iron";
            final String literalName = "IRON_INGOT";
            final String actualPricePath = "items.iron.actualprice";
            final String pricePath = "items.iron.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 265);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("goldingot") || args0.equalsIgnoreCase("266") || args0.equalsIgnoreCase("gold") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GOLD_INGOT")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GOLD_INGOT")))) {
            final double price = this.getConfig().getDouble("items.gold.actualprice");
            final String Name = "Gold";
            final String literalName = "GOLD_INGOT";
            final String actualPricePath = "items.gold.actualprice";
            final String pricePath = "items.gold.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 266);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("ironsword") || args0.equalsIgnoreCase("267") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("IRON_SWORD")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("IRON_SWORD")))) {
            final double price = this.getConfig().getDouble("items.ironsword.actualprice");
            final String Name = "Iron Sword";
            final String literalName = "IRON_SWORD";
            final String actualPricePath = "items.ironsword.actualprice";
            final String pricePath = "items.ironsword.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 267);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("woodensword") || args0.equalsIgnoreCase("268") || args0.equalsIgnoreCase("woodsword") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("WOOD_SWORD")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("WOOD_SWORD")))) {
            final double price = this.getConfig().getDouble("items.woodensword.actualprice");
            final String Name = "Wooden Sword";
            final String literalName = "WOOD_SWORD";
            final String actualPricePath = "items.woodensword.actualprice";
            final String pricePath = "items.woodensword.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 268);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("woodenspade") || args0.equalsIgnoreCase("269") || args0.equalsIgnoreCase("woodspade") || args0.equalsIgnoreCase("woodenshovel") || args0.equalsIgnoreCase("woodshovel") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("WOOD_SPADE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("WOOD_SPADE")))) {
            final double price = this.getConfig().getDouble("items.woodenspade.actualprice");
            final String Name = "Wooden Spade";
            final String literalName = "WOOD_SPADE";
            final String actualPricePath = "items.woodenspade.actualprice";
            final String pricePath = "items.woodenspade.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 269);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("woodenpickaxe") || args0.equalsIgnoreCase("270") || args0.equalsIgnoreCase("woodpickaxe") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("WOOD_PICKAXE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("WOOD_PICKAXE")))) {
            final double price = this.getConfig().getDouble("items.woodenpickaxe.actualprice");
            final String Name = "Wooden Pickaxe";
            final String literalName = "WOOD_PICKAXE";
            final String actualPricePath = "items.woodenpickaxe.actualprice";
            final String pricePath = "items.woodenpickaxe.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 270);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                player.sendMessage("You said buy");
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
        }
        if (args0.equalsIgnoreCase("woodenaxe") || args0.equalsIgnoreCase("271") || args0.equalsIgnoreCase("woodaxe") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("WOOD_AXE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("WOOD_AXE")))) {
            final double price = this.getConfig().getDouble("items.woodenaxe.actualprice");
            final String Name = "Wooden Axe";
            final String literalName = "WOOD_AXE";
            final String actualPricePath = "items.woodenaxe.actualprice";
            final String pricePath = "items.woodenaxe.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 271);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("stonesword") || args0.equalsIgnoreCase("272") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("STONE_SWORD")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("STONE_SWORD")))) {
            final double price = this.getConfig().getDouble("items.stonesword.actualprice");
            final String Name = "Stone Sword";
            final String literalName = "STONE_SWORD";
            final String actualPricePath = "items.stonesword.actualprice";
            final String pricePath = "items.stonesword.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 272);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("stonespade") || args0.equalsIgnoreCase("273") || args0.equalsIgnoreCase("stoneshovel") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("STONE_SPADE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("STONE_SPADE")))) {
            final double price = this.getConfig().getDouble("items.stonespade.actualprice");
            final String Name = "Stone Spade";
            final String literalName = "STONE_SPADE";
            final String actualPricePath = "items.stonespade.actualprice";
            final String pricePath = "items.stonespade.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 273);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("stonepickaxe") || args0.equalsIgnoreCase("274") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("STONE_PICKAXE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("STONE_PICKAXE")))) {
            final double price = this.getConfig().getDouble("items.stonepickaxe.actualprice");
            final String Name = "Stone Pickaxe";
            final String literalName = "STONE_PICKAXE";
            final String actualPricePath = "items.stonepickaxe.actualprice";
            final String pricePath = "items.stonepickaxe.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 274);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("stoneaxe") || args0.equalsIgnoreCase("275") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("STONE_AXE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("STONE_AXE")))) {
            final double price = this.getConfig().getDouble("items.stoneaxe.actualprice");
            final String Name = "Stone Axe";
            final String literalName = "STONE_AXE";
            final String actualPricePath = "items.stoneaxe.actualprice";
            final String pricePath = "items.stoneaxe.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 275);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("diamondsword") || args0.equalsIgnoreCase("276") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("DIAMOND_SWORD")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("DIAMOND_SWORD")))) {
            final double price = this.getConfig().getDouble("items.diamondsword.actualprice");
            final String Name = "Diamond Sword";
            final String literalName = "DIAMOND_SWORD";
            final String actualPricePath = "items.diamondsword.actualprice";
            final String pricePath = "items.diamondsword.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 276);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("diamondspade") || args0.equalsIgnoreCase("277") || args0.equalsIgnoreCase("diamondshovel") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("STONE_SWORD")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("STONE_SWORD")))) {
            final double price = this.getConfig().getDouble("items.diamondspade.actualprice");
            final String Name = "Diamond Spade";
            final String literalName = "DIAMOND_SPADE";
            final String actualPricePath = "items.diamondspade.actualprice";
            final String pricePath = "items.diamondspade.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 277);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("diamondpickaxe") || args0.equalsIgnoreCase("278") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("DIAMOND_PICKAXE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("DIAMOND_PICKAXE")))) {
            final double price = this.getConfig().getDouble("items.diamondpickaxe.actualprice");
            final String Name = "Diamond Pickaxe";
            final String literalName = "DIAMOND_PICKAXE";
            final String actualPricePath = "items.diamondpickaxe.actualprice";
            final String pricePath = "items.diamondpickaxe.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 278);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("diamondaxe") || args0.equalsIgnoreCase("279") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("DIAMOND_AXE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("DIAMOND_AXE")))) {
            final double price = this.getConfig().getDouble("items.diamondaxe.actualprice");
            final String Name = "Diamond Axe";
            final String literalName = "DIAMOND_AXE";
            final String actualPricePath = "items.diamondaxe.actualprice";
            final String pricePath = "items.diamondaxe.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 279);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("stick") || args0.equalsIgnoreCase("280") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("STICK")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("STICK")))) {
            final double price = this.getConfig().getDouble("items.stick.actualprice");
            final String Name = "Stick";
            final String literalName = "STICK";
            final String actualPricePath = "items.stick.actualprice";
            final String pricePath = "items.stick.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 280);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("bowl") || args0.equalsIgnoreCase("281") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("BOWL")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("BOWL")))) {
            final double price = this.getConfig().getDouble("items.bowl.actualprice");
            final String Name = "Bowl";
            final String literalName = "BOWL";
            final String actualPricePath = "items.bowl.actualprice";
            final String pricePath = "items.bowl.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 281);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("mushroomsoup") || args0.equalsIgnoreCase("282") || args0.equalsIgnoreCase("mushroomstew") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("MUSHROOM_SOUP")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("MUSHROOM_SOUP")))) {
            final double price = this.getConfig().getDouble("items.mushroomsoup.actualprice");
            final String Name = "Mushroom Soup";
            final String literalName = "MUSHROOM_SOUP";
            final String actualPricePath = "items.mushroomsoup.actualprice";
            final String pricePath = "items.mushroomsoup.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 282);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("goldsword") || args0.equalsIgnoreCase("283") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GOLD_SWORD")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GOLD_SWORD")))) {
            final double price = this.getConfig().getDouble("items.goldsword.actualprice");
            final String Name = "Gold Sword";
            final String literalName = "GOLD_SWORD";
            final String actualPricePath = "items.goldsword.actualprice";
            final String pricePath = "items.goldsword.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 283);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("goldspade") || args0.equalsIgnoreCase("284") || args0.equalsIgnoreCase("goldshovel") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GOLD_SPADE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GOLD_SPADE")))) {
            final double price = this.getConfig().getDouble("items.goldspade.actualprice");
            final String Name = "Gold Spade";
            final String literalName = "GOLD_SPADE";
            final String actualPricePath = "items.goldspade.actualprice";
            final String pricePath = "items.goldspade.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 284);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("goldpickaxe") || args0.equalsIgnoreCase("285") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GOLD_PICKAXE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GOLD_PICKAXE")))) {
            final double price = this.getConfig().getDouble("items.goldpickaxe.actualprice");
            final String Name = "Gold Pickaxe";
            final String literalName = "GOLD_PICKAXE";
            final String actualPricePath = "items.goldpickaxe.actualprice";
            final String pricePath = "items.goldpickaxe.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 285);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("goldaxe") || args0.equalsIgnoreCase("286") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GOLD_AXE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GOLD_AXE")))) {
            final double price = this.getConfig().getDouble("items.goldaxe.actualprice");
            final String Name = "Gold Axe";
            final String literalName = "GOLD_AXE";
            final String actualPricePath = "items.goldaxe.actualprice";
            final String pricePath = "items.goldaxe.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 286);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("string") || args0.equalsIgnoreCase("287") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("STRING")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("STRING")))) {
            final double price = this.getConfig().getDouble("items.string.actualprice");
            final String Name = "String";
            final String literalName = "STRING";
            final String actualPricePath = "items.string.actualprice";
            final String pricePath = "items.string.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 287);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("feather") || args0.equalsIgnoreCase("288") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("FEATHER")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("FEATHER")))) {
            final double price = this.getConfig().getDouble("items.feather.actualprice");
            final String Name = "Feather";
            final String literalName = "FEATHER";
            final String actualPricePath = "items.feather.actualprice";
            final String pricePath = "items.feather.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 288);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("gunpowder") || args0.equalsIgnoreCase("289") || args0.equalsIgnoreCase("sulphur") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("SULPHUR")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("SULPHUR")))) {
            final double price = this.getConfig().getDouble("items.gunpowder.actualprice");
            final String Name = "Gunpowder";
            final String literalName = "SULPHUR";
            final String actualPricePath = "items.gunpowder.actualprice";
            final String pricePath = "items.gunpowder.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 289);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("woodhoe") || args0.equalsIgnoreCase("290") || args0.equalsIgnoreCase("woodenhoe") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("WOOD_HOE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("WOOD_HOE")))) {
            final double price = this.getConfig().getDouble("items.woodenhoe.actualprice");
            final String Name = "Wooden Hoe";
            final String literalName = "WOOD_HOE";
            final String actualPricePath = "items.woodenhoe.actualprice";
            final String pricePath = "items.woodenhoe.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 290);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("stonehoe") || args0.equalsIgnoreCase("291") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("STONE_HOE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("STONE_HOE")))) {
            final double price = this.getConfig().getDouble("items.stonehoe.actualprice");
            final String Name = "Stone Hoe";
            final String literalName = "STONE_HOE";
            final String actualPricePath = "items.stonehoe.actualprice";
            final String pricePath = "items.stonehoe.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 291);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("ironhoe") || args0.equalsIgnoreCase("292") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("IRON_HOE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("IRON_HOE")))) {
            final double price = this.getConfig().getDouble("items.ironhoe.actualprice");
            final String Name = "Iron Hoe";
            final String literalName = "IRON_HOE";
            final String actualPricePath = "items.ironhoe.actualprice";
            final String pricePath = "items.ironhoe.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 292);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("diamondhoe") || args0.equalsIgnoreCase("293") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("DIAMOND_HOE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("DIAMOND_HOE")))) {
            final double price = this.getConfig().getDouble("items.diamondhoe.actualprice");
            final String Name = "Diamond Hoe";
            final String literalName = "DIAMOND_HOE";
            final String actualPricePath = "items.diamodnhoe.actualprice";
            final String pricePath = "items.diamondhoe.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 293);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("goldhoe") || args0.equalsIgnoreCase("294") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GOLD_HOE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GOLD_HOE")))) {
            final double price = this.getConfig().getDouble("items.goldhoe.actualprice");
            final String Name = "Gold Hoe";
            final String literalName = "GOLD_HOE";
            final String actualPricePath = "items.goldhoe.actualprice";
            final String pricePath = "items.goldhoe.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 294);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("seeds") || args0.equalsIgnoreCase("295") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("SEEDS")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("SEEDS")))) {
            final double price = this.getConfig().getDouble("items.seeds.actualprice");
            final String Name = "Seeds";
            final String literalName = "SEEDS";
            final String actualPricePath = "items.seeds.actualprice";
            final String pricePath = "items.seeds.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 295);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("wheat") || args0.equalsIgnoreCase("296") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("WHEAT")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("WHEAT")))) {
            final double price = this.getConfig().getDouble("items.wheat.actualprice");
            final String Name = "Wheat";
            final String literalName = "WHEAT";
            final String actualPricePath = "items.wheat.actualprice";
            final String pricePath = "items.wheat.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 296);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("bread") || args0.equalsIgnoreCase("297") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("BREAD")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("BREAD")))) {
            final double price = this.getConfig().getDouble("items.bread.actualprice");
            final String Name = "Bread";
            final String literalName = "BREAD";
            final String actualPricePath = "items.bread.actualprice";
            final String pricePath = "items.bread.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 297);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("leatherhelmet") || args0.equalsIgnoreCase("298") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("LEATHER_HELMET")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("LEATHER_HELMET")))) {
            final double price = this.getConfig().getDouble("items.leatherhelmet.actualprice");
            final String Name = "Leather Helmet";
            final String literalName = "LEATHER_HELMET";
            final String actualPricePath = "items.leatherhelmet.actualprice";
            final String pricePath = "items.leatherhelmet.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 298);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("leatherchestplate") || args0.equalsIgnoreCase("299") || args0.equalsIgnoreCase("leathertunic") || args0.equalsIgnoreCase("leathertop") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("LEATHER_CHESTPLATE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("LEATHER_CHESTPLATE")))) {
            final double price = this.getConfig().getDouble("items.leatherchestplate.actualprice");
            final String Name = "Leather Chestplate";
            final String literalName = "LEATHER_CHESTPLATE";
            final String actualPricePath = "items.leatherchestplate.actualprice";
            final String pricePath = "items.leatherchestplate.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 299);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("leatherpants") || args0.equalsIgnoreCase("300") || args0.equalsIgnoreCase("leatherleggings") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("LEATHER_LEGGINGS")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("LEATHER_LEGGINGS")))) {
            final double price = this.getConfig().getDouble("items.leatherpants.actualprice");
            final String Name = "Leather Pants";
            final String literalName = "LEATHER_LEGGINGS";
            final String actualPricePath = "items.leatherpants.actualprice";
            final String pricePath = "items.leatherpants.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 300);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("letherboots") || args0.equalsIgnoreCase("301") || args0.equalsIgnoreCase("leathershoes") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("LEATHER_BOOTS")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("LEATHER_BOOTS")))) {
            final double price = this.getConfig().getDouble("items.leatherbots.actualprice");
            final String Name = "Leather Boots";
            final String literalName = "LEATHER_BOOTS";
            final String actualPricePath = "items.leatherboots.actualprice";
            final String pricePath = "items.leatherboots.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 301);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("chainmailhelmet") || args0.equalsIgnoreCase("302") || args0.equalsIgnoreCase("chainmailhat") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("CHAINMAIL_HELMET")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("CHAINMAIL_HELMET")))) {
            final double price = this.getConfig().getDouble("items.chainmailhelmet.actualprice");
            final String Name = "Chainmail Helmet";
            final String literalName = "CHAINMAIL_HELMET";
            final String actualPricePath = "items.chainmailhelmet.actualprice";
            final String pricePath = "items.chainmailhelmet.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 302);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("chainmailchestplate") || args0.equalsIgnoreCase("303") || args0.equalsIgnoreCase("clainmailtop") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("CHAINMAIL_CHESTPLATE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("CHAINMAIL_CHESTPLATE")))) {
            final double price = this.getConfig().getDouble("items.chainmailchestplate.actualprice");
            final String Name = "Chainmail Chestplate";
            final String literalName = "CHAINMAIL_CHESTPLATE";
            final String actualPricePath = "items.chainmailchestplate.actualprice";
            final String pricePath = "items.chainmailchestplate.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 303);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("chainmailpants") || args0.equalsIgnoreCase("304") || args0.equalsIgnoreCase("chainmailleggings") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("CHAINMAIL_LEGGINGS")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("CHAINMAIL_LEGGINGS")))) {
            final double price = this.getConfig().getDouble("items.chainmailpants.actualprice");
            final String Name = "Chainmail Pants";
            final String literalName = "CHAINMAIL_LEGGINGS";
            final String actualPricePath = "items.chainmailpants.actualprice";
            final String pricePath = "items.chainmailpants.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 304);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("chainmailboots") || args0.equalsIgnoreCase("305") || args0.equalsIgnoreCase("chainmailshoes") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("CHAINMAIL_BOOTS")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("CHAINMAIL_BOOTS")))) {
            final double price = this.getConfig().getDouble("items.chainmailboots.actualprice");
            final String Name = "Chainmail Boots";
            final String literalName = "CHAINMAIL_BOOTS";
            final String actualPricePath = "items.chainmailboots.actualprice";
            final String pricePath = "items.chainmailboots.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 305);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("ironhelmet") || args0.equalsIgnoreCase("306") || args0.equalsIgnoreCase("ironhat") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("IRON_HELMET")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("IRON_HELMET")))) {
            final double price = this.getConfig().getDouble("items.ironhelmet.actualprice");
            final String Name = "Iron Helmet";
            final String literalName = "IRON_HELMET";
            final String actualPricePath = "items.ironhelmet.actualprice";
            final String pricePath = "items.ironhelmet.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 306);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("ironchestplate") || args0.equalsIgnoreCase("307") || args0.equalsIgnoreCase("irontunic") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("IRON_CHESTPLATE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("IRON_CHESTPLATE")))) {
            final double price = this.getConfig().getDouble("items.ironchestplate.actualprice");
            final String Name = "Iron Chestplate";
            final String literalName = "IRON_CHESTPLATE";
            final String actualPricePath = "items.ironchestplate.actualprice";
            final String pricePath = "items.ironchestplate.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 307);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("ironpants") || args0.equalsIgnoreCase("308") || args0.equalsIgnoreCase("ironleggings") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("IRON_LEGGINGS")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("IRON_LEGGINGS")))) {
            final double price = this.getConfig().getDouble("items.ironpants.actualprice");
            final String Name = "Iron Pants";
            final String literalName = "IRON_LEGGINGS";
            final String actualPricePath = "items.ironpants.actualprice";
            final String pricePath = "items.ironpants.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 308);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("ironboots") || args0.equalsIgnoreCase("309") || args0.equalsIgnoreCase("ironshoes") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("IRON_BOOTS")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("IRON_BOOTS")))) {
            final double price = this.getConfig().getDouble("items.ironboots.actualprice");
            final String Name = "Iron Boots";
            final String literalName = "IRON_BOOTS";
            final String actualPricePath = "items.ironboots.actualprice";
            final String pricePath = "items.ironboots.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 309);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("diamondhelmet") || args0.equalsIgnoreCase("310") || args0.equalsIgnoreCase("diamondhat") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("DIAMOND_HELMET")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("DIAMOND_HELMET")))) {
            final double price = this.getConfig().getDouble("items.diamondhelmet.actualprice");
            final String Name = "Diamond Helmet";
            final String literalName = "DIAMOND_HELMET";
            final String actualPricePath = "items.diamondhelmet.actualprice";
            final String pricePath = "items.diamondhelmet.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 310);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("diamondchestplate") || args0.equalsIgnoreCase("311") || args0.equalsIgnoreCase("diamondtunic") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("DIAMOND_CHESTPLATE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("DIAMOND_CHESTPLATE")))) {
            final double price = this.getConfig().getDouble("items.diamondchestplate.actualprice");
            final String Name = "Diamond Chestplate";
            final String literalName = "DIAMOND_CHESTPLATE";
            final String actualPricePath = "items.diamondchestpate.actualprice";
            final String pricePath = "items.diamondchestplate.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 311);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("diamondpants") || args0.equalsIgnoreCase("312") || args0.equalsIgnoreCase("diamondleggings") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("DIAMOND_LEGGINGS")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("DIAMOND_LEGGINGS")))) {
            final double price = this.getConfig().getDouble("items.diamondpants.actualprice");
            final String Name = "Diamond Pants";
            final String literalName = "DIAMOND_LEGGINGS";
            final String actualPricePath = "items.diamondpants.actualprice";
            final String pricePath = "items.diamondpants.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 312);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("diamondboots") || args0.equalsIgnoreCase("313") || args0.equalsIgnoreCase("diamondshoes") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("DIAMOND_BOOTS")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("DIAMOND_BOOTS")))) {
            final double price = this.getConfig().getDouble("items.diamondboots.actualprice");
            final String Name = "Diamond Boots";
            final String literalName = "DIAMOND_BOOTS";
            final String actualPricePath = "items.diamondboots.actualprice";
            final String pricePath = "items.diamondboots.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 313);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("goldhelmet") || args0.equalsIgnoreCase("314") || args0.equalsIgnoreCase("goldhat") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GOLD_HELMET")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GOLD_HELMET")))) {
            final double price = this.getConfig().getDouble("items.goldhelmet.actualprice");
            final String Name = "Gold Helmet";
            final String literalName = "GOLD_HELMET";
            final String actualPricePath = "items.goldhelmet.actualprice";
            final String pricePath = "items.goldhelmet.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 314);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("goldchestplate") || args0.equalsIgnoreCase("315") || args0.equalsIgnoreCase("goldtunic") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GOLD_CHESTPLATE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GOLD_CHESTPLATE")))) {
            final double price = this.getConfig().getDouble("items.goldchestplate.actualprice");
            final String Name = "Gold Chestplate";
            final String literalName = "GOLD_CHESTPLATE";
            final String actualPricePath = "items.goldchestplate.actualprice";
            final String pricePath = "items.goldchestplate.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 315);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("goldpants") || args0.equalsIgnoreCase("316") || args0.equalsIgnoreCase("goldleggings") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GOLD_LEGGINGS")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GOLD_LEGGINGS")))) {
            final double price = this.getConfig().getDouble("items.goldleggings.actualprice");
            final String Name = "Gold Pants";
            final String literalName = "GOLD_LEGGINGS";
            final String actualPricePath = "items.goldpants.actualprice";
            final String pricePath = "items.goldpants.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 316);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("goldboots") || args0.equalsIgnoreCase("317") || args0.equalsIgnoreCase("goldshoes") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GOLD_BOOTS")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GOLD_BOOTS")))) {
            final double price = this.getConfig().getDouble("items.goldboots.actualprice");
            final String Name = "Gold Boots";
            final String literalName = "GOLD_BOOTS";
            final String actualPricePath = "items.goldboots.actualprice";
            final String pricePath = "items.goldboots.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 317);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("flint") || args0.equalsIgnoreCase("318") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("FLINT")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("FLINT")))) {
            final double price = this.getConfig().getDouble("items.flint.actualprice");
            final String Name = "Flint";
            final String literalName = "FLINT";
            final String actualPricePath = "items.flint.actualprice";
            final String pricePath = "items.flint.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 318);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("porkchop") || args0.equalsIgnoreCase("319") || args0.equalsIgnoreCase("pork") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("PORK")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("PORK")))) {
            final double price = this.getConfig().getDouble("items.porkchop.actualprice");
            final String Name = "Porkchop";
            final String literalName = "PORK";
            final String actualPricePath = "items.porkchop.actualprice";
            final String pricePath = "items.porkchop.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 319);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("cookedporkchop") || args0.equalsIgnoreCase("320") || args0.equalsIgnoreCase("cookedpork") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GRILLED_PORK")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GRILLED_PORK")))) {
            final double price = this.getConfig().getDouble("items.cookedpork.actualprice");
            final String Name = "Cooked Porkchop";
            final String literalName = "GRILLED_PORK";
            final String actualPricePath = "items.cookedpork.actualprice";
            final String pricePath = "items.cookedpork.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 320);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("painting") || args0.equalsIgnoreCase("321") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("PAINTING")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("PAINTING")))) {
            final double price = this.getConfig().getDouble("items.painting.actualprice");
            final String Name = "Painting";
            final String literalName = "PAINTING";
            final String actualPricePath = "items.painting.actualprice";
            final String pricePath = "items.painting.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 321);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("sign") || args0.equalsIgnoreCase("323") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("SIGN")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("SIGN")))) {
            final double price = this.getConfig().getDouble("items.sign.actualprice");
            final String Name = "Sign";
            final String literalName = "SIGN";
            final String actualPricePath = "items.sign.actualprice";
            final String pricePath = "items.sign.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 323);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("wooddoor") || args0.equalsIgnoreCase("324") || args0.equalsIgnoreCase("door") || args0.equalsIgnoreCase("woodendoor") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("WOOD_DOOR")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("WOOD_DOOR")))) {
            final double price = this.getConfig().getDouble("items.woodendoor.actualprice");
            final String Name = "Wooden Door";
            final String literalName = "WOOD_DOOR";
            final String actualPricePath = "items.woodendoor.actualprice";
            final String pricePath = "items.woodendoor.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 324);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("bucket") || args0.equalsIgnoreCase("325") || args0.equalsIgnoreCase("bukkit") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("BUCKET")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("BUCKET")))) {
            final double price = this.getConfig().getDouble("items.bucket.actualprice");
            final String Name = "Bucket";
            final String literalName = "BUCKET";
            final String actualPricePath = "items.bucket.actualprice";
            final String pricePath = "items.bucket.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 325);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("waterbucket") || args0.equalsIgnoreCase("326") || args0.equalsIgnoreCase("bucketofwater") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("WATER_BUCKET")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("WATER_BUCKET")))) {
            final double price = this.getConfig().getDouble("items.waterbucket.actualprice");
            final String Name = "Water Bucket";
            final String literalName = "WATER_BUCKET";
            final String actualPricePath = "items.waterbucket.actualprice";
            final String pricePath = "items.waterbucket.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 326);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("lavabucket") || args0.equalsIgnoreCase("327") || args0.equalsIgnoreCase("bucketoflava") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("LAVA_BUCKET")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("LAVA_BUCKET")))) {
            final double price = this.getConfig().getDouble("items.lavabucket.actualprice");
            final String Name = "Lava Bucket";
            final String literalName = "LAVA_BUCKET";
            final String actualPricePath = "items.lavabucket.actualprice";
            final String pricePath = "items.lavabucket.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 327);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("minecart") || args0.equalsIgnoreCase("328") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("MINECART")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("MINECART")))) {
            final double price = this.getConfig().getDouble("items.minecart.actualprice");
            final String Name = "Minecart";
            final String literalName = "MINECART";
            final String actualPricePath = "items.minecart.actualprice";
            final String pricePath = "items.minecart.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 328);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("saddle") || args0.equalsIgnoreCase("329") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("SADDLE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("SADDLE")))) {
            final double price = this.getConfig().getDouble("items.saddle.actualprice");
            final String Name = "Saddle";
            final String literalName = "SADDLE";
            final String actualPricePath = "items.saddle.actualprice";
            final String pricePath = "items.saddle.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 329);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("irondoor") || args0.equalsIgnoreCase("330") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("IRON_DOOR")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("IRON_DOOR")))) {
            final double price = this.getConfig().getDouble("items.irondoor.actualprice");
            final String Name = "Iron Door";
            final String literalName = "IRON_DOOR";
            final String actualPricePath = "items.irondoor.actualprice";
            final String pricePath = "items.irondoor.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 330);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("redstone") || args0.equalsIgnoreCase("331") || args0.equalsIgnoreCase("redstonedust") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("REDSTONE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("REDSTONE")))) {
            final double price = this.getConfig().getDouble("items.redstone.actualprice");
            final String Name = "Redstone";
            final String literalName = "REDSTONE";
            final String actualPricePath = "items.redstone.actualprice";
            final String pricePath = "items.redstone.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 331);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("snowball") || args0.equalsIgnoreCase("332") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("SNOW_BALL")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("SNOW_BALL")))) {
            final double price = this.getConfig().getDouble("items.snowball.actualprice");
            final String Name = "Snowball";
            final String literalName = "SNOW_BALL";
            final String actualPricePath = "items.snowball.actualprice";
            final String pricePath = "items.snowball.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 332);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("boat") || args0.equalsIgnoreCase("333") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("BOAT")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("BOAT")))) {
            final double price = this.getConfig().getDouble("items.boat.actualprice");
            final String Name = "Boat";
            final String literalName = "BOAT";
            final String actualPricePath = "items.boat.actualprice";
            final String pricePath = "items.boat.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 333);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("leather") || args0.equalsIgnoreCase("334") || args0.equalsIgnoreCase("cowhide") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("LEATHER")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("LEATHER")))) {
            final double price = this.getConfig().getDouble("items.leather.actualprice");
            final String Name = "Leather";
            final String literalName = "LEATHER";
            final String actualPricePath = "items.leather.actualprice";
            final String pricePath = "items.leather.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 334);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("milkbucket") || args0.equalsIgnoreCase("335") || args0.equalsIgnoreCase("bucketofmilk") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("MILK_BUCKET")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("MILK_BUCKET")))) {
            final double price = this.getConfig().getDouble("items.milkbucket.actualprice");
            final String Name = "Milk Bucket";
            final String literalName = "MILK_BUCKET";
            final String actualPricePath = "items.milkbucket.actualprice";
            final String pricePath = "items.milkbucket.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 335);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("brick") || args0.equalsIgnoreCase("336") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("CLAY_BRICK")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("CLAY_BRICK")))) {
            final double price = this.getConfig().getDouble("items.brick.actualprice");
            final String Name = "Brick";
            final String literalName = "CLAY_BRICK";
            final String actualPricePath = "items.brick.actualprice";
            final String pricePath = "items.brick.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 336);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("clayball") || args0.equalsIgnoreCase("clay") || args0.equalsIgnoreCase("337") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("CLAY_BALL")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("CLAY_BALL")))) {
            final double price = this.getConfig().getDouble("items.clay.actualprice");
            final String Name = "Clay Ball";
            final String literalName = "CLAY_BALL";
            final String actualPricePath = "items.clay.actualprice";
            final String pricePath = "items.clay.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 337);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("sugarcane") || args0.equalsIgnoreCase("338") || args0.equalsIgnoreCase("reed") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("SUGAR_CANE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("SUGAR_CANE")))) {
            final double price = this.getConfig().getDouble("items.sugarcane.actualprice");
            final String Name = "Sugar Cane";
            final String literalName = "SUGAR_CANE";
            final String actualPricePath = "items.sugarcane.actualprice";
            final String pricePath = "items.sugarcane.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 338);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("paper") || args0.equalsIgnoreCase("339") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("PAPER")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("PAPER")))) {
            final double price = this.getConfig().getDouble("items.paper.actualprice");
            final String Name = "Paper";
            final String literalName = "PAPER";
            final String actualPricePath = "items.paper.actualprice";
            final String pricePath = "items.paper.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 339);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("book") || args0.equalsIgnoreCase("340") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("BOOK")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("BOOK")))) {
            final double price = this.getConfig().getDouble("items.book.actualprice");
            final String Name = "Book";
            final String literalName = "BOOK";
            final String actualPricePath = "items.book.actualprice";
            final String pricePath = "items.book.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 340);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("slimeball") || args0.equalsIgnoreCase("341") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("SLIME_BALL")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("SLIME_BALL")))) {
            final double price = this.getConfig().getDouble("items.slimeball.actualprice");
            final String Name = "Slime Ball";
            final String literalName = "SLIME_BALL";
            final String actualPricePath = "items.slimeball.actualprice";
            final String pricePath = "items.slimeball.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 341);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("storageminecart") || args0.equalsIgnoreCase("342") || args0.equalsIgnoreCase("storagecart") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("STORAGE_MINECART")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("STORAGE_MINECART")))) {
            final double price = this.getConfig().getDouble("items.storagecart.actualprice");
            final String Name = "Storage Cart";
            final String literalName = "STORAGE_MINECART";
            final String actualPricePath = "items.storagecart.actualprice";
            final String pricePath = "items.storagecart.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 342);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("poweredminecart") || args0.equalsIgnoreCase("343") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("POWERED_MINECART")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("POWERED_MINECART")))) {
            final double price = this.getConfig().getDouble("items.poweredminecart.actualprice");
            final String Name = "Powered Minecart";
            final String literalName = "POWERED_MINECART";
            final String actualPricePath = "items.poweredminecart.actualprice";
            final String pricePath = "items.poweredminecart.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 343);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("egg") || args0.equalsIgnoreCase("344") || args0.equalsIgnoreCase("chickenegg") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("EGG")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("EGG")))) {
            final double price = this.getConfig().getDouble("items.egg.actualprice");
            final String Name = "Egg";
            final String literalName = "EGG";
            final String actualPricePath = "items.egg.actualprice";
            final String pricePath = "items.egg.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 344);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("compass") || args0.equalsIgnoreCase("345") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("COMPASS")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("COMPASS")))) {
            final double price = this.getConfig().getDouble("items.compass.actualprice");
            final String Name = "Compass";
            final String literalName = "COMPASS";
            final String actualPricePath = "items.compass.actualprice";
            final String pricePath = "items.compass.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 345);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("fishingrod") || args0.equalsIgnoreCase("346") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("FISHING_ROD")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("FISHING_ROD")))) {
            final double price = this.getConfig().getDouble("items.fishingrod.actualprice");
            final String Name = "Fishing Rod";
            final String literalName = "FISHING_ROD";
            final String actualPricePath = "items.fishingrod.actualprice";
            final String pricePath = "items.fishingrod.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 346);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("watch") || args0.equalsIgnoreCase("347") || args0.equalsIgnoreCase("clock") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("WATCH")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("WATCH")))) {
            final double price = this.getConfig().getDouble("items.watch.actualprice");
            final String Name = "Watch";
            final String literalName = "WATCH";
            final String actualPricePath = "items.watch.actualprice";
            final String pricePath = "items.watch.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 347);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("glowstonedust") || args0.equalsIgnoreCase("348") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GLOWSTONE_DUST")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GLOWSTONE_DUST")))) {
            final double price = this.getConfig().getDouble("items.glowstonedust.actualprice");
            final String Name = "Glowstone Dust";
            final String literalName = "GLOWSTONE_DUST";
            final String actualPricePath = "items.glowstonedust.actualprice";
            final String pricePath = "items.glowstonedust.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 348);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("fish") || args0.equalsIgnoreCase("349") || args0.equalsIgnoreCase("rawfish") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("RAW_FISH")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("RAW_FISH")))) {
            final double price = this.getConfig().getDouble("items.fish.actualprice");
            final String Name = "Fish";
            final String literalName = "RAW_FISH";
            final String actualPricePath = "items.fish.actualprice";
            final String pricePath = "items.fish.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 349);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("cookedfish") || args0.equalsIgnoreCase("350") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("COOKED_FISH")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("COOKED_FISH")))) {
            final double price = this.getConfig().getDouble("items.cookedfish.actualprice");
            final String Name = "Cooked Fish";
            final String literalName = "COOKED_FISH";
            final String actualPricePath = "items.cookedfish.actualprice";
            final String pricePath = "items.cookedfish.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 350);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("bone") || args0.equalsIgnoreCase("352") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("BONE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("BONE")))) {
            final double price = this.getConfig().getDouble("items.bone.actualprice");
            final String Name = "Bone";
            final String literalName = "BONE";
            final String actualPricePath = "items.bone.actualprice";
            final String pricePath = "items.bone.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 352);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("sugar") || args0.equalsIgnoreCase("353") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("SUGAR")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("SUGAR")))) {
            final double price = this.getConfig().getDouble("items.sugar.actualprice");
            final String Name = "Sugar";
            final String literalName = "SUGAR";
            final String actualPricePath = "items.sugar.actualprice";
            final String pricePath = "items.sugar.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 353);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("cake") || args0.equalsIgnoreCase("354") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("CAKE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("CAKE")))) {
            final double price = this.getConfig().getDouble("items.cake.actualprice");
            final String Name = "Cake";
            final String literalName = "CAKE";
            final String actualPricePath = "items.cake.actualprice";
            final String pricePath = "items.cake.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 354);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("bed") || args0.equalsIgnoreCase("355") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("BED")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("BED")))) {
            final double price = this.getConfig().getDouble("items.bed.actualprice");
            final String Name = "Bed";
            final String literalName = "BED";
            final String actualPricePath = "items.bed.actualprice";
            final String pricePath = "items.bed.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 355);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("repeater") || args0.equalsIgnoreCase("356") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("DIODE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("DIODE")))) {
            final double price = this.getConfig().getDouble("items.repeater.actualprice");
            final String Name = "Redstone Repeater";
            final String literalName = "DIODE";
            final String actualPricePath = "items.repeater.actualprice";
            final String pricePath = "items.repeater.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 356);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("cookie") || args0.equalsIgnoreCase("357") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("COOKIE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("COOKIE")))) {
            final double price = this.getConfig().getDouble("items.cookie.actualprice");
            final String Name = "Cookie";
            final String literalName = "COOKIE";
            final String actualPricePath = "items.cookie.actualprice";
            final String pricePath = "items.cookie.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 357);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("map") || args0.equalsIgnoreCase("358") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("MAP")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("MAP")))) {
            final double price = this.getConfig().getDouble("items.map.actualprice");
            final String Name = "Map";
            final String literalName = "MAP";
            final String actualPricePath = "items.map.actualprice";
            final String pricePath = "items.map.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 358);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("shears") || args0.equalsIgnoreCase("359") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("SHEARS")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("SHEARS")))) {
            final double price = this.getConfig().getDouble("items.shears.actualprice");
            final String Name = "Shears";
            final String literalName = "SHEARS";
            final String actualPricePath = "items.shears.actualprice";
            final String pricePath = "items.shears.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 359);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("melon") || args0.equalsIgnoreCase("360") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("MELON")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("MELON")))) {
            final double price = this.getConfig().getDouble("items.melon.actualprice");
            final String Name = "Melon (item)";
            final String literalName = "MELON";
            final String actualPricePath = "items.melon.actualprice";
            final String pricePath = "items.melon.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 360);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("pumpkin_seeds") || args0.equalsIgnoreCase("361") || args0.equalsIgnoreCase("pumpkinseeds") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("PUMPKIN_SEEDS")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("PUMPKIN_SEEDS")))) {
            final double price = this.getConfig().getDouble("items.pumpkinseeds.actualprice");
            final String Name = "Pumpkin Seeds";
            final String literalName = "PUMPKIN_SEEDS";
            final String actualPricePath = "items.pumpkinseeds.actualprice";
            final String pricePath = "items.pumpkinseeds.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 361);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("melon_seeds") || args0.equalsIgnoreCase("362") || args0.equalsIgnoreCase("melonseeds") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("MELON_SEEDS")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("MELON_SEEDS")))) {
            final double price = this.getConfig().getDouble("items.melonseeds.actualprice");
            final String Name = "Melon Seeds";
            final String literalName = "MELON_SEEDS";
            final String actualPricePath = "items.melonseeds.actualprice";
            final String pricePath = "items.melonseeds.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 362);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("beef") || args0.equalsIgnoreCase("363") || args0.equalsIgnoreCase("rawbeef") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("RAW_BEEF")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("RAW_BEEF")))) {
            final double price = this.getConfig().getDouble("items.rawbeef.actualprice");
            final String Name = "Raw Beef";
            final String literalName = "RAW_BEEF";
            final String actualPricePath = "items.rawbeef.actualprice";
            final String pricePath = "items.rawbeef.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 363);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("cooked_beef") || args0.equalsIgnoreCase("364") || args0.equalsIgnoreCase("cookedbeef") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("COOKED_BEEF")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("COOKED_BEEF")))) {
            final double price = this.getConfig().getDouble("items.cookedbeef.actualprice");
            final String Name = "Cooked Beef";
            final String literalName = "COOKED_BEEF";
            final String actualPricePath = "items.cookedbeef.actualprice";
            final String pricePath = "items.cookedbeef.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 364);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("chicken") || args0.equalsIgnoreCase("365") || args0.equalsIgnoreCase("rawchicken") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("RAW_CHICKEN")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("RAW_CHICKEN")))) {
            final double price = this.getConfig().getDouble("items.rawchicken.actualprice");
            final String Name = "Raw Chicken";
            final String literalName = "RAW_CHICKEN";
            final String actualPricePath = "items.rawchicken.actualprice";
            final String pricePath = "items.rawchicken.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 365);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("cooked_chicken") || args0.equalsIgnoreCase("366") || args0.equals("cookedchicken") || args0.equals("roastchicken") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("COOKED_CHICKEN")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("COOKED_CHICKEN")))) {
            final double price = this.getConfig().getDouble("items.cookedchicken.actualprice");
            final String Name = "Cooked Chicken";
            final String literalName = "COOKED_CHICKEN";
            final String actualPricePath = "items.cookedchicken.actualprice";
            final String pricePath = "items.cookedchicken.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 366);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("rottenflesh") || args0.equalsIgnoreCase("367") || args0.equalsIgnoreCase("rotten_flesh") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("ROTTEN_FLESH")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("ROTTEN_FLESH")))) {
            final double price = this.getConfig().getDouble("items.rottenflesh.actualprice");
            final String Name = "Rotten Flesh";
            final String literalName = "ROTTEN_FLESH";
            final String actualPricePath = "items.rottenflesh.actualprice";
            final String pricePath = "items.rottenflesh.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 367);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("enderpearl") || args0.equalsIgnoreCase("368") || args0.equalsIgnoreCase("ender_pearl") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("ENDER_PEARL")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("ENDER_PEARL")))) {
            final double price = this.getConfig().getDouble("items.enderpearl.actualprice");
            final String Name = "Ender Pearl";
            final String literalName = "ENDER_PEARL";
            final String actualPricePath = "items.enderpearl.actualprice";
            final String pricePath = "items.enderpearl.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 368);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("blaze_rod") || args0.equalsIgnoreCase("369") || args0.equalsIgnoreCase("blazerod") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("BLAZE_ROD")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("BLAZE_ROD")))) {
            final double price = this.getConfig().getDouble("items.blazerod.actualprice");
            final String Name = "Blaze Rod";
            final String literalName = "BLAZE_ROD";
            final String actualPricePath = "items.blazerod.actualprice";
            final String pricePath = "items.blazerod.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 369);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("ghast_tear") || args0.equalsIgnoreCase("370") || args0.equalsIgnoreCase("ghasttear") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GHAST_TEAR")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GHAST_TEAR")))) {
            final double price = this.getConfig().getDouble("items.ghasttear.actualprice");
            final String Name = "Ghast Tear";
            final String literalName = "GHAST_TEAR";
            final String actualPricePath = "items.ghasttear.actualprice";
            final String pricePath = "items.ghasttear.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 370);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("gold_nugget") || args0.equalsIgnoreCase("371") || args0.equalsIgnoreCase("goldnugget") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GOLD_NUGGET")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GOLD_NUGGET")))) {
            final double price = this.getConfig().getDouble("items.goldnugget.actualprice");
            final String Name = "Gold Nugget";
            final String literalName = "GOLD_NUGGET";
            final String actualPricePath = "items.goldnugget.actualprice";
            final String pricePath = "items.goldnugget.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 371);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("potion") || args0.equalsIgnoreCase("373") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("POTION")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("POTION")))) {
            final double price = this.getConfig().getDouble("items.potion.actualprice");
            final String Name = "Potion";
            final String literalName = "POTION";
            final String actualPricePath = "items.potion.actualprice";
            final String pricePath = "items.potion.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 373);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("glass_bottle") || args0.equalsIgnoreCase("374") || args0.equalsIgnoreCase("glassbottle") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GLASS_BOTTLE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GLASS_BOTTLE")))) {
            final double price = this.getConfig().getDouble("items.glassbottle.actualprice");
            final String Name = "Glass Bottle";
            final String literalName = "GLASS_BOTTLE";
            final String actualPricePath = "items.glassbottle.actualprice";
            final String pricePath = "items.glassbottle.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 374);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("spider_eye") || args0.equalsIgnoreCase("375") || args0.equalsIgnoreCase("spidereye") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("SPIDER_EYE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("SPIDER_EYE")))) {
            final double price = this.getConfig().getDouble("items.spidereye.actualprice");
            final String Name = "Spider Eye";
            final String literalName = "SPIDER_EYE";
            final String actualPricePath = "items.spidereye.actualprice";
            final String pricePath = "items.spidereye.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 375);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("fermentedspidereye") || args0.equalsIgnoreCase("376") || args0.equalsIgnoreCase("fermented_spider_eye") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("FERMENTED_SPIDER_EYE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("FERMENTED_SPIDER_EYE")))) {
            final double price = this.getConfig().getDouble("items.fermentedspidereye.actualprice");
            final String Name = "Fermented Spider Eye";
            final String literalName = "FERMENTED_SPIDER_EYE";
            final String actualPricePath = "items.fermentedspidereye.actualprice";
            final String pricePath = "items.fermentedspidereye.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 376);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("blaze_powder") || args0.equalsIgnoreCase("377") || args0.equalsIgnoreCase("blazepowder") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("BLAZE_POWDER")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("BLAZE_POWDER")))) {
            final double price = this.getConfig().getDouble("items.blazepowder.actualprice");
            final String Name = "Blaze Powder";
            final String literalName = "BLAZE_POWDER";
            final String actualPricePath = "items.blazepowder.actualprice";
            final String pricePath = "items.blazepowder.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 377);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("magma_cream") || args0.equalsIgnoreCase("378") || args0.equalsIgnoreCase("magmacream") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("MAGMA_CREAM")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("MAGMA_CREAM")))) {
            final double price = this.getConfig().getDouble("items.magmacream.actualprice");
            final String Name = "Magma Cream";
            final String literalName = "MAGMA_CREAM";
            final String actualPricePath = "items.magmacream.actualprice";
            final String pricePath = "items.magmacream.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 378);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("eye_of_ender") || args0.equalsIgnoreCase("381") || args0.equalsIgnoreCase("eyeofender") || args0.equalsIgnoreCase("endereye") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("EYE_OF_ENDER")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("EYE_OF_ENDER")))) {
            final double price = this.getConfig().getDouble("items.eyeofender.actualprice");
            final String Name = "Eye Of Ender";
            final String literalName = "EYE_OF_ENDER";
            final String actualPricePath = "items.eyeofender.actualprice";
            final String pricePath = "items.eyeofender.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 381);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("glistering_melon") || args0.equalsIgnoreCase("382") || args0.equalsIgnoreCase("glisteringmelon") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("SPECKLED_MELON")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("SPECKLED_MELON")))) {
            final double price = this.getConfig().getDouble("items.glisteringmelon.actualprice");
            final String Name = "Glistering Melon";
            final String literalName = "SPECKLED_MELON";
            final String actualPricePath = "items.glisteringmelon.actualprice";
            final String pricePath = "items.glisteringmelon.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 382);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("xp_bottle") || args0.equalsIgnoreCase("384") || args0.equalsIgnoreCase("xpbottle") || args0.equalsIgnoreCase("expbottle") || args0.equalsIgnoreCase("bottleoenchanting") || args0.equalsIgnoreCase("bottleofenchanting") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("EXP_BOTTLE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("EXP_BOTTLE")))) {
            final double price = this.getConfig().getDouble("items.expbottle.actualprice");
            final String Name = "Bottle O' Enchanting";
            final String literalName = "EXP_BOTTLE";
            final String actualPricePath = "items.expbottle.actualprice";
            final String pricePath = "items.expbottle.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 384);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("firecharge") || args0.equalsIgnoreCase("385") || args0.equalsIgnoreCase("fire_charge") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("FIREBALL")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("FIREBALL")))) {
            final double price = this.getConfig().getDouble("items.firecharge.actualprice");
            final String Name = "Fire Charge";
            final String literalName = "FIREBALL";
            final String actualPricePath = "items.firecharge.actualprice";
            final String pricePath = "items.firecharge.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 385);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("bookandquill") || args0.equalsIgnoreCase("386") || args0.equalsIgnoreCase("book_and_quill") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("BOOK_AND_QUILL")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("BOOK_AND_QUILL")))) {
            final double price = this.getConfig().getDouble("items.bookandquill.actualprice");
            final String Name = "Book And Quill";
            final String literalName = "BOOK_AND_QUILL";
            final String actualPricePath = "items.bookandquill.actualprice";
            final String pricePath = "items.bookandquill.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 386);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("emerald") || args0.equalsIgnoreCase("388") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("EMERALD")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("EMERALD")))) {
            final double price = this.getConfig().getDouble("items.emerald.actualprice");
            final String Name = "Emerald";
            final String literalName = "EMERALD";
            final String actualPricePath = "items.emerald.actualprice";
            final String pricePath = "items.emerald.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 388);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("item_frame") || args0.equalsIgnoreCase("389") || args0.equalsIgnoreCase("itemframe") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("ITEM_FRAME")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("ITEM_FRAME")))) {
            final double price = this.getConfig().getDouble("items.itemframe.actualprice");
            final String Name = "Item Frame";
            final String literalName = "ITEM_FRAME";
            final String actualPricePath = "items.itemframe.actualprice";
            final String pricePath = "items.itemframe.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 389);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("carrot") || args0.equalsIgnoreCase("391") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("CARROT_ITEM")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("CARROT_ITEM")))) {
            final double price = this.getConfig().getDouble("items.carrot.actualprice");
            final String Name = "Carrot";
            final String literalName = "CARROT_ITEM";
            final String actualPricePath = "items.carrot.actualprice";
            final String pricePath = "items.carrot.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 391);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("potato") || args0.equalsIgnoreCase("392") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("POTATO_ITEM")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("POTATO")))) {
            final double price = this.getConfig().getDouble("items.potato.actualprice");
            final String Name = "Potato";
            final String literalName = "POTATO_ITEM";
            final String actualPricePath = "items.potato.actualprice";
            final String pricePath = "items.potato.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 392);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("lowest") || args0.equalsIgnoreCase("highest") || args0.equalsIgnoreCase("bottom") || args0.equalsIgnoreCase("cheapest") || args0.equalsIgnoreCase("top") || args0.equalsIgnoreCase("expensive")) {
            this.listItemPrices(player, args0);
        }
        else if (args0 == "dontexecutethiscommand") {
            this.didThingsOccur = true;
        }
        else if (argsLength == 2) {
            this.overFlowMethod2(theCommand, args0, args1, player, argsLength);
        }
        else if (!args0.equalsIgnoreCase("dontexecutethiscommand") && argsLength == 1) {
            this.overFlowMethod2(theCommand, args0, "1", player, argsLength);
        }
        else {
            this.overFlowMethod2(theCommand, args0, null, player, argsLength);
        }
        return true;
    }
    
    private boolean overFlowMethod2(final String theCommand, final String args0, final String args1, final Player player, final int argsLength) {
        if (args0.equalsIgnoreCase("cookedpotato") || args0.equalsIgnoreCase("393") || args0.equalsIgnoreCase("cooked_potato") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("BAKED_POTATO")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("BAKED_POTATO")))) {
            final double price = this.getConfig().getDouble("items.bakedpotato.actualprice");
            final String Name = "Baked Potato";
            final String literalName = "BAKED_POTATO";
            final String actualPricePath = "items.bakedpotato.actualprice";
            final String pricePath = "items.bakedpotato.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 393);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("goldencarrot") || args0.equalsIgnoreCase("396") || args0.equalsIgnoreCase("golden_carrot") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GOLDEN_CARROT")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GOLDEN_CARROT")))) {
            final double price = this.getConfig().getDouble("items.goldencarrot.actualprice");
            final String Name = "Golden Carrot";
            final String literalName = "GOLDEN_CARROT";
            final String actualPricePath = "items.goldencarrot.actualprice";
            final String pricePath = "items.goldencarrot.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 396);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("poisonouspotato") || args0.equalsIgnoreCase("394") || args0.equalsIgnoreCase("poisonous_potato") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("POISONOUS_POTATO")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("POISONOUS_POTATO")))) {
            final double price = this.getConfig().getDouble("items.poisonedpotato.actualprice");
            final String Name = "Poisonous Potato";
            final String literalName = "POISONOUS_POTATO";
            final String actualPricePath = "items.poisonedpotato.actualprice";
            final String pricePath = "items.poisonedpotato.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 394);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("carrotonastick") || args0.equalsIgnoreCase("398") || args0.equalsIgnoreCase("carrot_on_a_stick") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("CARROT_STICK")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("CARROT_STICK")))) {
            final double price = this.getConfig().getDouble("items.carrotonastick.actualprice");
            final String Name = "Carrot on a Stick";
            final String literalName = "CARROT_STICK";
            final String actualPricePath = "items.carrotonastick.actualprice";
            final String pricePath = "items.carrotonastick.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 398);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("netherstar") || args0.equalsIgnoreCase("399") || args0.equalsIgnoreCase("nether_star") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("NETHER_STAR")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("NETHER_STAR")))) {
            final double price = this.getConfig().getDouble("items.netherstar.actualprice");
            final String Name = "Nether Star";
            final String literalName = "NETHER_STAR";
            final String actualPricePath = "items.netherstar.actualprice";
            final String pricePath = "items.netherstar.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 399);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("pumpkinpie") || args0.equalsIgnoreCase("400") || args0.equalsIgnoreCase("pumpkin_pie") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("PUMPKIN_PIE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("PUMPKIN_PIE")))) {
            final double price = this.getConfig().getDouble("items.pumpkinpie.actualprice");
            final String Name = "Pumpkin Pie";
            final String literalName = "PUMPKIN_PIE";
            final String actualPricePath = "items.pumpkinpie.actualprice";
            final String pricePath = "items.pumpkinpie.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 400);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("fireworkcharge") || args0.equalsIgnoreCase("402") || args0.equalsIgnoreCase("firework_charge") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("FIREWORK_CHARGE")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("FIREWORK_CHARGE")))) {
            final double price = this.getConfig().getDouble("items.fireworkcharge.actualprice");
            final String Name = "Firework Charge";
            final String literalName = "FIREWORK_CHARGE";
            final String actualPricePath = "items.fireworkcharge.actualprice";
            final String pricePath = "items.fireworkcharge.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 402);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("redstonecomparator") || args0.equalsIgnoreCase("404") || args0.equalsIgnoreCase("redstone_comparator") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("REDSTONE_COMPARATOR")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("REDSTONE_COMPARATOR")))) {
            final double price = this.getConfig().getDouble("items.redstonecomparator.actualprice");
            final String Name = "Redstone Comparator";
            final String literalName = "REDSTONE_COMPARATOR";
            final String actualPricePath = "items.redstonecomparator.actualprice";
            final String pricePath = "items.redstonecomparator.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 404);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("quartz") || args0.equalsIgnoreCase("406") || args0.equalsIgnoreCase("nether_quartz") || args0.equalsIgnoreCase("netherquartz") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("QUARTZ")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("QUARTZ")))) {
            final double price = this.getConfig().getDouble("items.quartz.actualprice");
            final String Name = "Nether Quartz";
            final String literalName = "QUARTZ";
            final String actualPricePath = "items.quartz.actualprice";
            final String pricePath = "items.quartz.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 406);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("tntcart") || args0.equalsIgnoreCase("407") || args0.equalsIgnoreCase("tnt_cart") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("EXPLOSIVE_MINECART")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("EXPLOSIVE_MINECART")))) {
            final double price = this.getConfig().getDouble("items.tntcart.actualprice");
            final String Name = "TNT Cart";
            final String literalName = "EXPLOSIVE_MINECART";
            final String actualPricePath = "items.tntcart.actualprice";
            final String pricePath = "items.tntcart.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 407);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("hoppercart") || args0.equalsIgnoreCase("408") || args0.equalsIgnoreCase("hopper_cart") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("HOPPER_MINECART")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("HOPPER_MINECART")))) {
            final double price = this.getConfig().getDouble("items.hoppercart.actualprice");
            final String Name = "Hopper Cart";
            final String literalName = "HOPPER_MINECART";
            final String actualPricePath = "items.hoppercart.actualprice";
            final String pricePath = "items.hoppercart.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 408);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("ironhorsearmor") || args0.equalsIgnoreCase("417") || args0.equalsIgnoreCase("iron_horse_armor") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("IRON_BARDING")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("IRON_BARDING")))) {
            final double price = this.getConfig().getDouble("items.ironhorsearmor.actualprice");
            final String Name = "Iron Horse Armor";
            final String literalName = "IRON_BARDING";
            final String actualPricePath = "items.ironhorsearmor.actualprice";
            final String pricePath = "items.ironhorsearmor.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 417);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("goldenhorsearmor") || args0.equalsIgnoreCase("418") || args0.equalsIgnoreCase("golden_horse_armor") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GOLD_BARDING")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GOLD_BARDING")))) {
            final double price = this.getConfig().getDouble("items.goldenhorsearmor.actualprice");
            final String Name = "Golden Horse Armor";
            final String literalName = "GOLD_BARDING";
            final String actualPricePath = "items.goldenhorsearmor.actualprice";
            final String pricePath = "items.goldenhorsearmor.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 418);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("diamondhorsearmor") || args0.equalsIgnoreCase("419") || args0.equalsIgnoreCase("diamond_horse_armor") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("DIAMOND_BARDING")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("DIAMOND_BARDING")))) {
            final double price = this.getConfig().getDouble("items.diamondhorsearmor.actualprice");
            final String Name = "Diamond Horse Armor";
            final String literalName = "DIAMOND_BARDING";
            final String actualPricePath = "items.diamondhorsearmor.actualprice";
            final String pricePath = "items.diamondhorsearmor.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 419);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("lead") || args0.equalsIgnoreCase("420") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("LEASH")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("LEASH")))) {
            final double price = this.getConfig().getDouble("items.lead.actualprice");
            final String Name = "Lead";
            final String literalName = "LEASH";
            final String actualPricePath = "items.lead.actualprice";
            final String pricePath = "items.lead.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 420);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("nametag") || args0.equalsIgnoreCase("421") || args0.equalsIgnoreCase("name_tag") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("NAME_TAG")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("NAME_TAG")))) {
            final double price = this.getConfig().getDouble("items.nametag.actualprice");
            final String Name = "Name Tag";
            final String literalName = "NAME_TAG";
            final String actualPricePath = "items.nametag.actualprice";
            final String pricePath = "items.nametag.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 421);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("musicdisc13") || args0.equalsIgnoreCase("2256") || args0.equalsIgnoreCase("music_disc_13") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GOLD_RECORD")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GOLD_RECORD")))) {
            final double price = this.getConfig().getDouble("items.musicdisc13.actualprice");
            final String Name = "Music Disc (13)";
            final String literalName = "GOLD_RECORD";
            final String actualPricePath = "items.musicdisc13.actualprice";
            final String pricePath = "items.musicdisc13.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 2256);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("musicdisccat") || args0.equalsIgnoreCase("2257") || args0.equalsIgnoreCase("music_disc_cat") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("GREEN_RECORD")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("GREEN_RECORD")))) {
            final double price = this.getConfig().getDouble("items.musicdisccat.actualprice");
            final String Name = "Music Disc (cat)";
            final String literalName = "GREEN_RECORD";
            final String actualPricePath = "items.musicdisccat.actualprice";
            final String pricePath = "items.musicdisccat.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 2257);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("musicdiscblocks") || args0.equalsIgnoreCase("2258") || args0.equalsIgnoreCase("music_disc_blocks") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("RECORD_3")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("RECORD_3")))) {
            final double price = this.getConfig().getDouble("items.musicdiscblocks.actualprice");
            final String Name = "Music Disc (blocks)";
            final String literalName = "RECORD_3";
            final String actualPricePath = "items.musicdiscblocks.actualprice";
            final String pricePath = "items.musicdiscblocks.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 2258);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("musicdiscchirp") || args0.equalsIgnoreCase("2259") || args0.equalsIgnoreCase("music_disc_chirp") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("RECORD_4")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("RECORD_4")))) {
            final double price = this.getConfig().getDouble("items.musicdiscchirp.actualprice");
            final String Name = "Music Disc (chirp)";
            final String literalName = "RECORD_4";
            final String actualPricePath = "items.musicdiscchirp.actualprice";
            final String pricePath = "items.musicdiscchirp.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 2259);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("musicdiscfar") || args0.equalsIgnoreCase("2260") || args0.equalsIgnoreCase("music_disc_far") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("RECORD_5")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("RECORD_5")))) {
            final double price = this.getConfig().getDouble("items.musicdiscfar.actualprice");
            final String Name = "Music Disc (far)";
            final String literalName = "RECORD_5";
            final String actualPricePath = "items.musicdiscfar.actualprice";
            final String pricePath = "items.musicdiscfar.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 2260);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("musicdiscmall") || args0.equalsIgnoreCase("2261") || args0.equalsIgnoreCase("music_disc_mall") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("RECORD_6")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("RECORD_6")))) {
            final double price = this.getConfig().getDouble("items.musicdiscmall.actualprice");
            final String Name = "Music Disc (mall)";
            final String literalName = "RECORD_6";
            final String actualPricePath = "items.musicdiscmall.actualprice";
            final String pricePath = "items.musicdiscmall.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 2261);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("musicdiscmellohi") || args0.equalsIgnoreCase("2262") || args0.equalsIgnoreCase("music_disc_mellohi") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("RECORD_7")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("RECORD_7")))) {
            final double price = this.getConfig().getDouble("items.musicdiscmellohi.actualprice");
            final String Name = "Music Disc (mellohi)";
            final String literalName = "RECORD_7";
            final String actualPricePath = "items.musicdiscmellohi.actualprice";
            final String pricePath = "items.musicdiscmellohi.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 2262);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("musicdiscstal") || args0.equalsIgnoreCase("2263") || args0.equalsIgnoreCase("music_disc_stal") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("RECORD_8")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("RECORD_8")))) {
            final double price = this.getConfig().getDouble("items.musicdiscblocks.actualprice");
            final String Name = "Music Disc (stal)";
            final String literalName = "RECORD_8";
            final String actualPricePath = "items.musicdiscstal.actualprice";
            final String pricePath = "items.musicdiscstal.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 2263);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("musicdiscstrad") || args0.equalsIgnoreCase("2264") || args0.equalsIgnoreCase("music_disc_strad") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("RECORD_9")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("RECORD_9")))) {
            final double price = this.getConfig().getDouble("items.musicdiscstrad.actualprice");
            final String Name = "Music Disc (strad)";
            final String literalName = "RECORD_9";
            final String actualPricePath = "items.musicdiscstrad.actualprice";
            final String pricePath = "items.musicdiscstrad.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 2264);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("musicdiscward") || args0.equalsIgnoreCase("2265") || args0.equalsIgnoreCase("music_disc_ward") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("RECORD_10")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("RECORD_10")))) {
            final double price = this.getConfig().getDouble("items.musicdiscward.actualprice");
            final String Name = "Music Disc (ward)";
            final String literalName = "RECORD_10";
            final String actualPricePath = "items.musicdiscward.actualprice";
            final String pricePath = "items.musicdiscward.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 2265);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("musicdisc11") || args0.equalsIgnoreCase("2266") || args0.equalsIgnoreCase("music_disc_11") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("RECORD_11")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("RECORD_11")))) {
            final double price = this.getConfig().getDouble("items.musicdisc11.actualprice");
            final String Name = "Music Disc (11)";
            final String literalName = "RECORD_11";
            final String actualPricePath = "items.musicdisc11.actualprice";
            final String pricePath = "items.musicdisc11.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 2266);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("bedrock") || args0.equalsIgnoreCase("7") || args0.equalsIgnoreCase("adminium") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("BEDROCK")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("BEDROCK")))) {
            final double price = this.getConfig().getDouble("items.bedrock.actualprice");
            final String Name = "Bedrock";
            final String literalName = "BEDROCK";
            final String actualPricePath = "items.bedrock.actualprice";
            final String pricePath = "items.bedrock.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 7);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("netherwart") || args0.equalsIgnoreCase("372") || args0.equalsIgnoreCase("netherwarts") || args0.equalsIgnoreCase("115") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("NETHER_STALK")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("NETHER_STALK")))) {
            final double price = this.getConfig().getDouble("items.netherwart.actualprice");
            final String Name = "Nether Wart";
            final String literalName = "NETHER_STALK";
            final String actualPricePath = "items.netherwart.actualprice";
            final String pricePath = "items.netherwart.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 372);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("musicdiscwait") || args0.equalsIgnoreCase("2267") || args0.equalsIgnoreCase("music_disc_wait") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("RECORD_12")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("RECORD_12")))) {
            final double price = this.getConfig().getDouble("items.musicdiscwait.actualprice");
            final String Name = "Music Disc (wait)";
            final String literalName = "RECORD_12";
            final String actualPricePath = "items.musicdiscwait.actualprice";
            final String pricePath = "items.musicdiscwait.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 2267);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (args0.equalsIgnoreCase("dragonegg") || args0.equalsIgnoreCase("122") || args0.equalsIgnoreCase("enderdragonegg") || (args0.equalsIgnoreCase("hand") && player.getInventory().getItemInHand().getType() == Material.getMaterial("DRAGON_EGG")) || (args0.equalsIgnoreCase("dontexecutethiscommand") && player.getInventory().contains(Material.getMaterial("DRAGON_EGG")))) {
            final double price = this.getConfig().getDouble("items.dragonegg.actualprice");
            final String Name = "Dragon Egg";
            final String literalName = "DRAGON_EGG";
            final String actualPricePath = "items.dragonegg.actualprice";
            final String pricePath = "items.dragonegg.price";
            int howMany = 1;
            if (argsLength == 1) {
                if (args0.equalsIgnoreCase("dontexecutethiscommand") || args0.equalsIgnoreCase("all")) {
                    howMany = MethodsForReference.getAmount(player, 122);
                }
                else {
                    howMany = 1;
                }
            }
            else if (MethodsForReference.tryParseInt(args1)) {
                howMany = Integer.parseInt(args1);
            }
            else if (!theCommand.equalsIgnoreCase("setprice")) {
                player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The value you put after the item/block name has to be an integer, that is, a number without a point, such as 2 or 43.");
            }
            if (theCommand.equalsIgnoreCase("buy")) {
                this.buyMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath);
            }
            if (theCommand.equalsIgnoreCase("sell")) {
                this.sellMethod(price, Name, player, literalName, howMany, actualPricePath, pricePath, args0);
            }
            if (theCommand.equalsIgnoreCase("price")) {
                this.getPrice(player, pricePath, Name);
            }
            if (theCommand.equalsIgnoreCase("setprice")) {
                if (argsLength == 1) {
                    player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "Go on... /setprice " + args0 + " what?");
                    this.didThingsOccur = true;
                }
                if (argsLength == 2) {
                    double priceToBeSet = 2.0;
                    try {
                        priceToBeSet = Double.parseDouble(args1);
                        this.setPrice(player, actualPricePath, pricePath, priceToBeSet, literalName);
                    }
                    catch (NumberFormatException NFE) {
                        player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "The price has to be a number, such as 2.28, or 9, or 130 for example.");
                        this.didThingsOccur = true;
                    }
                }
            }
        }
        if (!this.didThingsOccur) {
            player.sendMessage(ChatColor.BLACK + "[" + ChatColor.AQUA + "UltiMarket" + ChatColor.BLACK + "] " + ChatColor.GREEN + "That " + ChatColor.YELLOW + "item " + ChatColor.GREEN + "is not available in " + ChatColor.AQUA + "UltiMarket" + ChatColor.GREEN + "!");
        }
        return true;
    }
}