Author Topic: 78 lines, and counting  (Read 1733 times)

Offline luisc99 (OP)

  • Staff Member | Administrator
  • Cheese
  • *****
  • Posts: 1439
  • Llamas: 60
    • View profile
78 lines, and counting
« on: 25 January 2018, 05:43:54 PM »
Because of Mojang's weird coding, villager farms are broken by disabling mobGriefing, which we use on VCV to stop creepers from breaking blocks. I said rather than trying to get some weird convoluted method of keeping mobGriefing on without creepers breaking blocks, writing a plugin to do it would probably be much easier and quicker than using something like workdguard. I asked for a random number, and @Light_Blue_Man said 78, so I promised I'd do the plugin in 78 lines.

With that being said, the plugin took only 31 lines. I padded it out a bit with comments on stuff and nicer formatting, but I was still too short, so I stuck a nyan cat on the bottom. It also took me about 5 mins. Plus a little longer finding a nice ascii picture for the bottom to fill the rest of the lines

Proof of the plugin code: https://gist.github.com/luisc99/ae69742675943c59fb2faedcc69b5149

(This is now effective on VCV. Let me know if there's any problems.)

Offline Akomine

  • Staff Member | Administrator
  • Cheese
  • *****
  • Posts: 3040
  • Llamas: 666
  • Meep Meep
    • View profile
Re: 78 lines, and counting
« Reply #1 on: 25 January 2018, 10:47:35 PM »
lmao, excellent. Perfect, even.

Ako is gay and has superaids - Air

Offline PengBunny

  • Member of Parliament
  • Cheese
  • *
  • Posts: 522
  • Llamas: 11
    • View profile
Re: 78 lines, and counting
« Reply #2 on: 25 January 2018, 11:52:25 PM »
hey look i can still understand java
You know a thread is really bad when PengBunny posts on it.


My daddy is Air

air when the fuck did you do this ^^^