Innectis Community Forum

Author Topic: Writeable Papers and/or books  (Read 4560 times)

Sciamancer

  • Goldy VIP
  • Full Member
  • ****
  • Posts: 221
    • View Profile
Writeable Papers and/or books
« on: August 05, 2011, 11:51:36 AM »
Paper and book items should have the option to set a message to them that can be set using a command and is saved on the item so that the paper or book can be put in a chest and saved as information or sent to other players while someone is offline.

Papers:
Using "/writemessage *message*" while holding a paper should set the message to whatever you typed.
Using "/readmessage" should display the message written on the paper on hand in the IDP.

Perhaps papers could be like that, then books could have more?

Books:
A book's title could be set using "/settitle *title*", and the title would be displayed when the cursor is hovered over the book. I'm not sure if this is possible, but it would be cool.
A book could also have multiple pages, perhaps ten?
Using "/writepage *#* *message" while holding a book could set the message of that page to the message.
Using "readpage *#*" while holding a book would display the message on the given page.

I used different commands for papers and books, but same commands would be more efficient for players. Just not sure if the same commands writing and reading books and papers, considering the different fields, would be possible.
  • Sciamancer
    Sciamancer
    Sciamancer

Hretsam

  • Former Owner
  • Retired Staff
  • Hero Member
  • *****
  • Posts: 550
    • View Profile
Writeable Papers and/or books
« Reply #1 on: August 06, 2011, 08:27:29 AM »
The idea is nice, only not sure if its possible.
  • Hretsam
    Hretsam
    Hretsam

FlexicanDeso

  • Guest
Writeable Papers and/or books
« Reply #2 on: October 01, 2011, 12:39:28 AM »
I like the idea very much.

ArronM

  • Goldy VIP
  • Sr. Member
  • ****
  • Posts: 266
  • Gender: Male
  • IDTP Lead Developer
    • View Profile
    • ArronM
Writeable Papers and/or books
« Reply #3 on: October 01, 2011, 07:08:13 AM »
Hmm not possible I do not belive :(.
  • ArronM
    ArronM
    ArronM
Kind Regards,
ArronM,
Lead IDTP Developer

Nosliw

  • Retired Staff
  • Rainbow Member
  • *****
  • Posts: 1722
  • Gender: Male
  • You can't hurt me, I'm a Jelly Fish..
    • View Profile
    • Uber Island
Writeable Papers and/or books
« Reply #4 on: October 01, 2011, 09:57:19 AM »
Quote from: Hretsam;536
The idea is nice, only not sure if its possible.

Quote from: ArronM;976
Hmm not possible I do not belive :(.


Could each piece of paper/book have its own data value which defines what is written on the page?
  • Nosliw
    Nosliw
    Nosliw
I'm here to help.. With the following exception:



@EventHandler(priority = EventPriority.LOW)
public void onPlayerJoin(PlayerJoinEvent event) {
    Player player = event.getPlayer();
    if (player.getName().equals("SGT_ADZ") {
        player.kickPlayer("Yeah... Nah!");
        return;
    }
}

Lynxy

  • IDP Developer
  • Retired Staff
  • Sr. Member
  • *****
  • Posts: 423
    • View Profile
Writeable Papers and/or books
« Reply #5 on: October 03, 2011, 10:03:22 AM »
Its not possible to my knowledge. Valid data ranges are 0-15 - impossible to go higher. There is no other way to keep track of a specific item :(
  • The_Lynxy
    The_Lynxy
    The_Lynxy

theyoungster1

  • Goldy VIP
  • Jr. Member
  • ****
  • Posts: 85
  • Gender: Male
  • Heck yes tulpae.
    • View Profile
Writeable Papers and/or books
« Reply #6 on: November 08, 2011, 08:40:29 PM »
Well, here's an idea. have it instead as a bookcase. right click the bookcase to see if it has any books in it, and use the commands on the bookcase to read/write the books.
as an experiment, maybe a client-side mod that allows you to more easily see which bookcases have written books and read them.
.
  • theyoungster1
    theyoungster1
    theyoungster1
so, how are you holding up?
because i'm a POTATO.

clap
clap
clap

oh good, my slow clap processor made it into this thing. so we have that.

Eggnaug

  • Solaire of Astora
  • Administrator
  • Legendary Member
  • *****
  • Posts: 2306
  • Gender: Male
  • Warrior of Sunlight
    • View Profile
Writeable Papers and/or books
« Reply #7 on: November 08, 2011, 09:11:46 PM »
Quote from: theyoungster;1439
Well, here's an idea. have it instead as a bookcase. right click the bookcase to see if it has any books in it, and use the commands on the bookcase to read/write the books.
as an experiment, maybe a client-side mod that allows you to more easily see which bookcases have written books and read them.
.

This could work, another suggestion to this would be locking the command so that bookcase owner/members is/are the only one/s who can write in it but be available for all to read
  • Eggnaug
    Eggnaug
    Eggnaug
Praise the Sun!

theyoungster1

  • Goldy VIP
  • Jr. Member
  • ****
  • Posts: 85
  • Gender: Male
  • Heck yes tulpae.
    • View Profile
Writeable Papers and/or books
« Reply #8 on: November 09, 2011, 07:52:07 AM »
Quote from: Eggnaug;1442
This could work, another suggestion to this would be locking the command so that bookcase owner/members is/are the only one/s who can write in it but be available for all to read


i like where this is going.
  • theyoungster1
    theyoungster1
    theyoungster1
so, how are you holding up?
because i'm a POTATO.

clap
clap
clap

oh good, my slow clap processor made it into this thing. so we have that.

ArronM

  • Goldy VIP
  • Sr. Member
  • ****
  • Posts: 266
  • Gender: Male
  • IDTP Lead Developer
    • View Profile
    • ArronM
Writeable Papers and/or books
« Reply #9 on: November 10, 2011, 09:25:46 AM »
I like whats happening, maybe the bookcase is text based.

Click a book case which has 1 book in maybe, and the owner of it can edit the text of it.
/book [id]
  • ArronM
    ArronM
    ArronM
Kind Regards,
ArronM,
Lead IDTP Developer

StarScythe7

  • Retired Staff
  • Hero Member
  • *****
  • Posts: 624
  • Gender: Male
    • View Profile
Writeable Papers and/or books
« Reply #10 on: November 20, 2011, 02:38:44 AM »
Okay so I was looking through the Bukkit plugins and found this plugin that sounds like what you want.
http://forums.bukkit.org/threads/fun-mech-bookworm-v1-8-2-read-and-write-books-1337.22159/

Theres a vid on the page showing how it works and it looks pretty good.

Perhaps we could just add this plugin or create something similar? :\
  • StarScythe7
    StarScythe7
    StarScythe7

Eggnaug

  • Solaire of Astora
  • Administrator
  • Legendary Member
  • *****
  • Posts: 2306
  • Gender: Male
  • Warrior of Sunlight
    • View Profile
Writeable Papers and/or books
« Reply #11 on: November 20, 2011, 03:26:20 PM »
The only issue i see happening is enchantment tables use bookshelves to enchant at higher levels
  • Eggnaug
    Eggnaug
    Eggnaug
Praise the Sun!